Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/formbricks/formbricks/llms.txt

Use this file to discover all available pages before exploring further.

The Zapier integration enables you to connect Formbricks with thousands of applications, automating workflows based on survey responses. Send data to CRMs, email marketing tools, databases, and more.

How It Works

Zapier uses webhooks to receive survey responses from Formbricks in real-time. You can then:
  • Trigger actions in other apps when responses arrive
  • Filter and transform response data
  • Create multi-step automation workflows
  • Connect to 5000+ supported applications

Before You Start

Set up your survey completely before creating the Zap. Changes to your survey after Zap creation require updating the Zap configuration.
1

Customize Question IDs

Before publishing your survey, update the questionId for each question to make them recognizable in Zapier.Update Question ID
Question IDs can only be changed before publishing. If your survey is already published, duplicate it to update IDs.Duplicate Survey
2

Submit Test Response

Zapier needs a sample response to set up field mapping. Submit at least one test response to your survey.Submit Test Response

Setup Your Zap

1

Create New Zap

Go to zapier.com and create a new Zap. Search for “Formbricks” and select it as the trigger app.Add New Zap
2

Choose Trigger Event

Select which event should trigger the Zap:
  • Response Created: Triggered when a response starts
  • Response Updated: Triggered when a response is modified
  • Response Finished: Triggered when a response is completed Choose Event
3

Connect Formbricks Account

Click to connect your Formbricks account. You’ll need:
  • Your Formbricks environment URL (e.g., https://app.formbricks.com)
  • A Formbricks API key Connect with Formbricks
4

Generate API Key

In Formbricks:
  1. Go to Configuration > API Keys
  2. Click Create API Key
  3. Copy the key and paste it into Zapier
See API Key Setup for detailed instructions.
API Key Connected
5

Select Survey

Choose which survey’s responses should trigger this Zap.Select Survey
6

Test Trigger

Click Test to fetch recent responses. Zapier will show the 3 most recent submissions. Select one to use as sample data.Test Submission
This is where custom question IDs make setup easier - you’ll see meaningful field names instead of generic IDs.
7

Configure Action

Add an action step to define what happens with the response data. For example, to send to Slack:
  1. Search for and select Slack
  2. Choose “Send Channel Message”
  3. Select your channel
  4. Map Formbricks fields to message content Slack Channel Message
8

Map Response Fields

Use the response data from the test to populate your action. You can access:
  • Individual question responses (by question ID)
  • Response metadata (timestamp, device, country)
  • Contact attributes (if user identification is enabled)
  • Custom variables Slack Message
9

Test and Activate

Test your complete Zap, then turn it on. New responses will now trigger your automation!Zapier Message Result

Available Trigger Data

When a response triggers your Zap, Zapier receives the following data:
{
  "event": "responseFinished",
  "data": {
    "id": "response_id",
    "surveyId": "survey_id",
    "finished": true,
    "data": {
      "satisfaction": "Very satisfied",
      "feedback": "Great product!"
    },
    "meta": {
      "userAgent": {
        "browser": "Chrome",
        "device": "desktop",
        "os": "macOS"
      },
      "country": "US",
      "url": "https://example.com"
    },
    "contactAttributes": {
      "email": "user@example.com",
      "userId": "user_123"
    },
    "createdAt": "2024-03-15T10:30:00.000Z",
    "updatedAt": "2024-03-15T10:32:00.000Z"
  }
}

Common Use Cases

CRM Updates

Update or create contacts in HubSpot, Salesforce, or other CRMs based on survey responses

Slack Notifications

Send formatted messages to Slack channels when important feedback arrives

Email Automation

Trigger personalized emails in Mailchimp, SendGrid, or Gmail based on survey answers

Database Storage

Store responses in Airtable, Google Sheets, or a custom database

Webhook Implementation

Under the hood, the Zapier integration uses Formbricks webhooks:
  1. When you set up a Zap, Zapier registers a webhook with Formbricks
  2. Formbricks sends POST requests to Zapier’s webhook URL when configured events occur
  3. Zapier processes the payload and triggers your Zap’s actions
The webhook payload follows the same format as Formbricks webhooks, ensuring consistency across integrations.

Filtering Responses

Use Zapier’s built-in filters to create conditional logic:
Only continue if:
  data__nps_score (Number) Greater than 8
This allows you to:
  • Send alerts only for negative feedback
  • Route different response types to different destinations
  • Skip incomplete responses

Troubleshooting

Ensure you’ve submitted at least one response to the selected survey. The test looks for the 3 most recent responses.
If you see generic IDs like q1, q2, duplicate your survey and update the question IDs before publishing, then reconnect your Zap.
  • Verify the Zap is turned ON
  • Check that you’re submitting responses to the correct survey
  • Ensure the trigger event matches (e.g., responseFinished vs responseCreated)
  • Check Zapier’s task history for error messages
If expected fields are missing, ensure:
  • Contact attributes are enabled for your survey
  • Custom variables are properly set
  • The test response includes all the questions you need

Advanced: Multi-Step Zaps

Create sophisticated workflows by chaining multiple actions:
  1. Trigger: Response Finished (Formbricks)
  2. Filter: NPS score < 6
  3. Action: Create ticket (Zendesk)
  4. Action: Send email (Gmail)
  5. Action: Post to channel (Slack)
This allows you to build complex automation without writing code. Need help? Join our GitHub Discussions!