# Webhook Configuration

To receive AI model outputs, you need to define a **backend event**. For this, you must have access to the **Backend Workflows** feature. This feature is available only on the **Template**, **Agency**, or **Paid** plans.

### Follow below steps to proceed:

1. Go to the **Backend Workflows** section.
2. Click the **New API Workflow** button to create a new API workflow.

This step is essential for the plugin to process the required data appropriately.

<figure><img src="/files/6Jzx5aldvBpgUECZfmg7" alt=""><figcaption></figcaption></figure>

### **Creating a New Backend API Workflow and Configuring Parameters**

**Workflow Name:**

* In the opened window, assign a name for the workflow. For example, you can use “get-response.”

**API Workflow Settings:**

* Check the **“Expose as a public API workflow”** option. This setting makes your workflow accessible as an API endpoint.

**Adding Parameters:**

* Click on the **“Add a new parameter”** button.
* Configure the workflow with the following parameters:
  * **output** (text)
  * **output\_list** (list of text)
  * **run\_id** (text)
  * **expense** (number)

For each of these fields, ensure that the **Optional** checkbox is activated. Also, verify that the object type remains as **JSON Object**.

These parameters are critical for the correct operation of the system, so please make sure to add all of them without any omissions.&#x20;

<figure><img src="/files/3KJfT86D39JtXIJ3fo6L" alt=""><figcaption></figcaption></figure>

Your webhook is now ready. You can use the received parameters however you like.\
You can store them in your database or pass them as parameters to trigger another event.\
The following section may help you about example use-cases and database structure:\
[Setup Examples By Models](/aicado-ai-connector-bubble.io/setup-examples-by-models.md)


---

# 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.aicado.ai/aicado-ai-connector-bubble.io/get-started/webhook-configuration.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.
