Skip to main content
Webhooks are the universal connector. They let any external system — form builders, CRMs, marketing tools, custom apps — send data directly into your Spark workspace. When a webhook fires, your agent processes the incoming data and takes action. This is how most lead capture works: a form on your website sends a submission to Spark, and your agent handles it automatically.

How Webhooks Work

  1. Spark gives you a unique webhook URL for your workspace
  2. You configure an external system to send data (POST requests) to that URL
  3. When data arrives, it triggers your agent
  4. Your agent processes the data according to your automation rules
The external system sends a JSON payload — your agent reads it, extracts the relevant fields, and does whatever you’ve configured: create a contact, score the lead, send an email, create tasks, etc.

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
  1. Open your Typeform form → Connect tab
  2. Click Webhooks
  3. Click Add a webhook
  4. Paste your Spark webhook URL
  5. Toggle it on
  6. Submit a test response to verify
Typeform sends a JSON payload with all form fields including answers, metadata, and submission timestamps.
  1. Open your form in Google Forms
  2. Go to Settings → Integrations → Webhooks
  3. Click Add Webhook
  4. Set the URL to your Spark webhook URL
  5. Choose POST as the method
  6. Select which form fields to include
  7. Save and test with a sample submission
  1. Open your form → SettingsIntegrations
  2. Search for Webhooks
  3. Paste your Spark webhook URL
  4. Save and test
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:
Different form providers send data in different formats. When setting up a new webhook source, send a test submission first and check the automation run history to see the exact payload structure. Then adjust your automation action to match the field names.

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:
Your agent handles all of these — just describe in your automation action what fields to look for and how to process them.

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
Regenerating your webhook URL invalidates the old one immediately. Any external systems using the old URL will stop sending data to your workspace. Update all connected systems with the new URL after regenerating.

Testing

Before connecting production forms, test your webhook setup:
  1. Copy your webhook URL
  2. Use a tool like curl, Postman, or an online webhook tester to send sample data
  3. Check the Automations run history to see how your agent processed it
  4. Adjust your automation action based on the results
  5. Once everything works, connect your real forms
This avoids real leads being misprocessed while you’re still tuning the automation.