> ## Documentation Index
> Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Activepieces

> A step-by-step guide to integrating Formbricks with Activepieces.

Activepieces is a versatile tool to automate workflows between Formbricks and numerous applications. Here's how to set it up.

> [!NOTE]
>
> Ensure your survey is finalized before setting up Activepieces. Any changes in the survey will require additional adjustments in the workflow.

## Step 1: Setup your survey incl. `questionId` for every question

Set up the `questionId`s of your survey questions before activating it.

![Update Question ID](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/update-question-id.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=723097d5bcb8ef6005048367d71cb458)

*Update the Question ID on every question — it is the first field behind **Show Question settings** at the foot of a question card.*

> [!NOTE]
>
> Already activated? Duplicate survey You can only update the questionId before activating the survey. If already activated, simply duplicate it.
>
> ![Duplicate Survey](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/duplicate-survey.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=3efcf928c9aabae279322ba7b7900fce)

## Step 2: Setup Activepieces

Visit [Activepieces](https://activepieces.com) to start a new Flow.

![Create New Flow](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/create-new-flow.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=1fa7831e36aef555aafca92301cb3262)

Search for `Formbricks` and choose the event to trigger the flow, we will choose `Response Finished` here

![Search Formbricks](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/search-formbricks.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=53c97290a767994cf032f8682c81482e)

## Step 3: Connect Formbricks with Activepieces

Click on `Create connection`:

![Create Connection](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/create-connection.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=9a40dbc2f8ad9cd9c6ec9de5b67ec488)

Enter the Formbricks API Host and API Key. API Host is by default set to [https://app.formbricks.com](https://app.formbricks.com) but can be modified for self-hosting instances. Learn how to get an API Key from the [API Key tutorial](https://formbricks.com/docs/api-reference/generate-key.md).

![Configure Connection](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/configure-connection.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=0cd473462e28b9f6e14b510a7f21a6dc)

## Step 4: Select Survey

Choose from your created surveys:

![Select Survey](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/select-survey.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=3fd6ee8f1d97fb0e126b79bc2703f409)

## Step 5: Send a test response

You need a test response for Activepieces setup. Click on Test trigger and submit a test response in the connected Formbricks survey to see the data in Activepieces.

![Test Trigger](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/test-trigger.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=931848aa56c54370dbda1462acc1838f)

If the test response is successful, you will see the data in Activepieces.

![Success Response](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/success-response.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=f7a89145bb04bc2c3ab12be8ea13914e)

## Step 6: Set up Google Sheet

Decide on the desired action for the data. Here, we'll send submissions to a Google Sheet. Add Google sheet step to your flow and configure it as follows:
Choose "Add a Row" for the action. Authenticate with Google and select the spreadsheet you want to add the data to.

![Select Google sheet](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/select-gs-sheet.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=cb4092a65ab6a90efe4e491c3ac0268b)

Specify the fields you want to add to the spreadsheet.

![Match Data](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/match-data.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=c044e2a03cb1c99b562270b744d13524)

A new row gets added to the spreadsheet for every response:

![Result](https://mintcdn.com/formbricks/ciPr-k8rsK4LGtZI/images/platform/features/integrations/activepieces/result.webp?fit=max\&auto=format\&n=ciPr-k8rsK4LGtZI\&q=85\&s=c77ca57b90389510155a613e5f4d35cc)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.