How Webhooks Work
- Spark gives you a unique webhook URL for your workspace
- You configure an external system to send data (POST requests) to that URL
- When data arrives, it triggers your agent
- Your agent processes the data according to your automation rules
Setting Up a Webhook
1
Get Your Webhook URL
Navigate to Settings → Integrations → Webhooks. Your unique webhook URL is displayed here. Copy it.
2
Configure the External System
In your form builder, CRM, or external tool, find the webhook or HTTP notification settings. Paste your Spark webhook URL as the destination.
3
Set Up an Automation
Go to the Automations tab and create an automation with the Webhook Received trigger. Define what your agent should do when data arrives.
4
Test It
Submit a test entry from your form (or send a test payload). Verify that your agent processes it correctly in the automation run history.
Compatible Form Providers
Webhooks work with virtually any system that can send HTTP POST requests. Common form and lead-capture tools:Typeform
Webhooks under Typeform’s Connect tab
Google Forms
Webhook integration in form settings
Google Forms
Via Apps Script or a connector like Zapier
Jotform
Webhooks in form settings → Integrations
Gravity Forms
Webhooks add-on for WordPress
Custom Forms
Any form that can POST JSON to a URL
Connecting Popular Providers
Typeform
Typeform
- Open your Typeform form → Connect tab
- Click Webhooks
- Click Add a webhook
- Paste your Spark webhook URL
- Toggle it on
- Submit a test response to verify
Google Forms
Google Forms
- Open your form in Google Forms
- Go to Settings → Integrations → Webhooks
- Click Add Webhook
- Set the URL to your Spark webhook URL
- Choose POST as the method
- Select which form fields to include
- Save and test with a sample submission
Jotform
Jotform
- Open your form → Settings → Integrations
- Search for Webhooks
- Paste your Spark webhook URL
- Save and test
Custom / API
Custom / API
Send a POST request to your webhook URL with a JSON body:Your agent receives the JSON payload and processes it based on your automation rules.
Writing Webhook Automation Actions
The automation action for webhook-triggered events should tell your agent how to process the incoming data. Be explicit about field mapping:Webhook Payload Format
Your agent receives the raw JSON payload from the external system. It doesn’t need to match a specific schema — your agent reads whatever structure is sent and extracts the relevant information. Common payload patterns:- Simple Key-Value
- Nested (Typeform-style)
- Form-style
Security
- Your webhook URL is unique to your workspace — treat it like a password
- Only share it with systems you trust
- If you suspect your URL has been compromised, you can regenerate it from Settings → Integrations → Webhooks
Testing
Before connecting production forms, test your webhook setup:- Copy your webhook URL
- Use a tool like curl, Postman, or an online webhook tester to send sample data
- Check the Automations run history to see how your agent processed it
- Adjust your automation action based on the results
- Once everything works, connect your real forms

