The LithoBlocks Airtable integration is currently in development. The steps below will be updated when the integration is available. Until then, you can use Airtable Automations with Send webhook or Run script to call the LithoBlocks API, and When webhook received to receive LithoBlocks webhooks.
Prerequisites
- LithoBlocks account and organization
- Airtable account (with Automations available)
- LithoBlocks Airtable integration (when available; until then, Send webhook / Run script, When webhook received)
- Connecting Slack for your LithoBlocks workspace
Coming soon: LithoBlocks Airtable integration
When the LithoBlocks Airtable integration is released, you will be able to:- Trigger an automation and send a message to Slack — Use a LithoBlocks action in an Airtable automation to compile a template with your record data and send the message to a Slack channel or user. No custom webhook or script needed.
- Receive a webhook from LithoBlocks in Airtable — When a button or modal triggers a webhook in LithoBlocks, trigger an Airtable automation (e.g. When webhook received) and create or update records from the payload.
Current workaround: Use the LithoBlocks API from Airtable
Until the integration is available, use Airtable Automations with Send webhook or Run script to call the LithoBlocks API, and When webhook received to receive LithoBlocks webhooks.Get an API key
- Log into your LithoBlocks dashboard
- Go to API Keys in your account or organization settings
- Create an API key with the scopes you need (e.g.
templates:read,messages:create) - Copy the key (it is shown only once)
Send a message from an Airtable automation
- In your base, open Automations and create an automation (e.g. trigger: When record created, When record matches conditions).
- Add an action. Use Send webhook or Run script.
- Send webhook: URL
https://api.lithoblocks.com/templates/{template_id}/compile(or send endpoint). Method POST. Headers:Authorization: Bearer YOUR_LITHOBLOCKS_API_KEY,Content-Type: application/json. Body: JSON built from your trigger record (map Airtable fields to the shape your template expects). - Run script: Use
fetch()or a script extension to POST to the same URL with the same headers and body built frominputConfig.record.
- Send webhook: URL
- The response contains the compiled Slack blocks (compile) or send result (send). Use the send endpoint so LithoBlocks posts to Slack, or add a subsequent step to post to Slack if you use compile.
- Map record fields to your template’s placeholders (e.g.
{{request.title}},{{assignee.name}}) so the message reflects the record.
Receive LithoBlocks webhooks in Airtable
When a button or modal in LithoBlocks triggers a webhook:- In Airtable, create an automation with trigger When webhook received (or use a script/webhook extension if your plan supports it). Copy the webhook URL Airtable provides.
- In LithoBlocks, create a Webhook destination with that URL and connect it to your button or modal submission.
- When a user clicks the button or submits the modal, LithoBlocks POSTs the payload to your Airtable webhook. In the automation, use the webhook payload to Create record or Update record (map payload fields to table fields).
{{interaction.user_email}}, {{expense.id}}) so Airtable receives the data you need.

