Webhook automations
Send an email or text to one person whenever another app or system calls your automation's webhook URL.
A webhook automation sends an email or a text to one person each time another app or system you use calls the automation's unique webhook URL. That system sends the person's email address or phone number, and Cymbal sends them the automation. You can create one from the Emails tab or the Text tab.
How to create a webhook automation
In Automations, select Create new.
In the New email automation or New text message automation dialog, choose Webhook is fired.
Open the Webhook fires trigger card. Copy the Webhook endpoint with the copy button, and check the Webhook example payload for the format to send.
Under When the webhook fires, choose whether to send right away or after a delay.
Write your email or text. For emails, you can start from a template or design your own.
Select Turn on in the top right. The automation only sends while it's on.
How to call the webhook
In the other app or system, set up a POST request to the webhook endpoint you copied.
Send a JSON body with the person to send to. For an email automation, send an email address:
{"email": "fan@example.com", "opted_in": true}For a text automation, send a phone number:
{"phone": "+15555550123", "opted_in": true}Each call sends the automation to the one person in that call. If they aren't in your contacts yet, Cymbal adds them, with Other as the source.