The LithoBlocks Zapier app is currently in development. The steps below will be updated when the app is available. Until then, you can use the LithoBlocks API from Zapier’s Webhooks by Zapier or API Request actions.
Prerequisites
- LithoBlocks account and organization
- Zapier account
- LithoBlocks Zapier app (when available; until then, Webhooks / API Request)
- Connecting Slack for your LithoBlocks workspace
Coming Soon: LithoBlocks Zapier App
When the LithoBlocks Zapier app is released, you will be able to:- Trigger a Zap and send a message to Slack — Use a LithoBlocks action in a Zap to compile a template with your trigger data and send the message to a Slack channel or user. No custom HTTP needed.
- Receive a webhook from LithoBlocks in a Zap — When a button or modal triggers a webhook in LithoBlocks, use it as a Zap trigger (e.g. Catch Hook) and process the payload in your Zap.
Current workaround: Use the LithoBlocks API from Zapier
Until the Zapier app is available, use Webhooks by Zapier or API Request (in Code by Zapier or a custom integration) to call the LithoBlocks API.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 a Zap
- In your Zap, add an action step. Use Webhooks by Zapier → POST (or API Request if available in your plan).
- URL:
https://api.lithoblocks.com/templates/{template_id}/compile(or the send endpoint if you use send instead of compile). Check the API reference for the exact endpoint and parameters. - Method: POST
- Headers:
Authorization: Bearer YOUR_LITHOBLOCKS_API_KEY,Content-Type: application/json - Body: JSON with the data your template expects (same shape as sample data). Map fields from your trigger (e.g. form submission, new CRM lead) into this structure.
- The response contains the compiled Slack blocks (compile) or send result (send). Use a subsequent Slack step if you compiled and need to post the blocks yourself, or use the send endpoint so LithoBlocks posts to Slack.
Receive LithoBlocks webhooks in a Zap
When a button or modal in LithoBlocks triggers a webhook:- In Zapier, create a Zap with a Webhooks by Zapier → Catch Hook trigger (or Custom Webhooks trigger).
- Copy the webhook URL Zapier 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 Zap. Map the payload fields in subsequent steps (e.g. add to Google Sheet, create CRM record, send email).
{{interaction.user_email}}, {{expense.id}}) so Zapier receives the data you need.

