Send new messages to another app
The Webhooks tab of Forms & Leads sends each new message to another app the moment it arrives: Zapier, Make, your CRM, or a Slack or Discord channel. Paste the address the app gives you, then send a test. It comes with Solo Pro and up.
Step 1: Get an address from the other app
In Zapier, start a Zap with Webhooks by Zapier and choose Catch Hook. In Make, add a Custom webhook. In Slack or Discord, create an incoming webhook for the channel. Each gives you an address that starts with
https://.Step 2: Add the address
Open the website, Forms & Leads, then the Webhooks tab. Paste the address, choose Every form or one form under Messages from, and click Add address. A website can send its messages to up to 5 addresses.
Step 3: Send a test
Click Send a test. A sample message goes to the address at once, and you see whether the other app answered and how fast. In Zapier and Make, the test is also how the app learns which questions your form has.
Step 4: What the other app receives
Slack and Discord get a short readable message with every answer and a link to your inbox.
Every other address gets a JSON body by POST:
event(alwaysmessage.created),test,id,createdAt, thewebsitewith its name and address, theform, thepagethe message came from, and the answers twice: asfields, a list in the form’s order with each question’slabelandvalue, and asanswers, the same values by field name.Step 5: If a delivery fails
A delivery that fails is tried again after 1 minute, 10 minutes, 1 hour and 6 hours. Deliveries lists the newest ones with what the other app answered, and Send again sends a failed message once more.
An address that fails every time for 3 days is switched off, and you are told. Fix the address in the other app, then switch it on again.
Step 6: Check that a message really comes from your website
Optional. Secret shows a signing secret for the address. Every request carries the header
X-Statpio-Signaturewith a timetand a signaturev1: the HMAC-SHA256 of the time, a dot and the request body, made with that secret. The receiving app works out the same value and compares.