# Formbricks

Formbricks is an open-source form and survey platform that allows businesses to collect, analyze, and manage user feedback efficiently. It offers powerful customization options, seamless integrations, and real-time analytics to improve data-driven decision-making.

### **How to Integrate Formbricks with ZBrain Flow** <a href="#how-to-integrate-formbricks-with-zbrain-flow" id="how-to-integrate-formbricks-with-zbrain-flow"></a>

To integrate Formbricks with ZBrain Flow:

1. Click the ‘+’ button in ZBrain Flow.
2. In the search bar, type "Formbricks" and select it from the available options.
3. Choose an action to start the integration process.

### **How to Connect Formbricks to ZBrain Flow** <a href="#how-to-connect-formbricks-to-zbrain-flow" id="how-to-connect-formbricks-to-zbrain-flow"></a>

To establish a connection between Formbricks and ZBrain Flow:

1. **Enter a Connection Name** – Provide a unique and identifiable name for your connection.
2. **Enter the API Key and API URL** – These credentials will authenticate and establish communication between Formbricks and ZBrain Flow.

### **How to Obtain the API URL and API Key from Formbricks** <a href="#how-to-obtain-the-api-url-and-api-key-from-formbricks" id="how-to-obtain-the-api-url-and-api-key-from-formbricks"></a>

**API URL**

1. Log in to your Formbricks account.
2. The base API URL follows the standard format: `https://api.formbricks.com`.

**API Key**

1. Navigate to the "Configuration" page within your Formbricks project.
2. Click on the "API Keys" tab.
3. Generate a new API key or copy an existing one.
4. Assign a label to your key for easy identification.
5. Copy the API key and store it securely for future use.

Once you have the API URL and API key, use them to authenticate API requests and enable seamless integration with ZBrain Flow.

3. **Save the connection** - Click ‘Save’ to finalize the setup.

### **Actions Available in ZBrain Flow** <a href="#actions-available-in-zbrain-flow" id="actions-available-in-zbrain-flow"></a>

#### **1. Custom API Call** <a href="#id-1.-custom-api-call" id="id-1.-custom-api-call"></a>

The Custom API Call feature enables users to communicate with the Formbricks API, allowing them to retrieve survey responses, submit form data, update entries, and automate workflows.

**Configuration Steps**

* **Select an Existing Connection or Create a New One** – Choose an already configured connection or set up a new one.
* **Enter the API Endpoint** – Specify the relevant Formbricks API URL based on the desired action.
* **Select the HTTP Method** – Choose the appropriate request type:
  * **GET** – Retrieve form responses or survey data.
  * **POST** – Submit form data or create new entries.
  * **PATCH** – Update existing responses or form configurations.
  * **PUT** – Replace form content or settings.
  * **DELETE** – Remove a response or form entry permanently.
  * **HEAD** – Fetch response headers without retrieving actual data.
* **Add Headers** – Include necessary request headers. Authentication headers are automatically injected. Click ‘+ Add Item’ to add additional headers.
* **Add Query Parameters** – Use query parameters to refine results or add specific options. Click ‘+ Add Item’ to define parameters.
* **Enter JSON Body** – Provide structured request data in JSON format.
* **Set Timeout (in Seconds)** – Define a timeout duration to prevent delays in API execution.

**Note:** Click ‘f’ to insert dynamic values for flexible configurations.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zbrain.ai/zbrain-documentation/zbrain-builder/flows/flow-components/formbricks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
