Documentation Index
Fetch the complete documentation index at: https://docs.lithoblocks.com/llms.txt
Use this file to discover all available pages before exploring further.
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/v1/templates/compileorhttps://api.lithoblocks.com/v1/templates/send(use send when LithoBlocks should post to Slack). Check the API reference for parameters. - Method: POST
- Headers:
Authorization: Bearer YOUR_LITHOBLOCKS_API_KEY,Content-Type: application/json - Body: JSON with
template_id,data(object matching your template placeholders, same shape as sample data), and for send a destination field such aschannel_idas documented in the API reference. Map fields from your trigger intodata. - 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.
Next steps
Connecting Slack
Connect your Slack workspace to LithoBlocks.
Quickstart
Build a template and send a message.
API reference
Authentication, endpoints, and parameters.
Webhook destinations
Configure webhooks for buttons and modals.

