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

# Build Integrations flows from your AI app

> Ask Claude, Claude Code, Cursor or Codex to build, test and switch on an Integrations flow in Topcalls, and what each step is allowed to change.

You can describe a flow in the chat and your AI app builds it in your Integrations. For example: "When a call ends as Converted, add the lead to Pipedrive and post the summary in Slack." The app finds the right apps and fields, builds the flow, checks it and tests it with you.

You need three things first:

* An AI app connected to Topcalls with full access. See [Connect your AI app](https://docs.topcalls.ai/mcp/connect.md).
* Integrations switched on for your account. Open **Integrations** in the left sidebar of Topcalls. If it isn't on yet, the app tells you so and gives you the link.
* A role that allows managing Integrations. Owners and members have it by default.

## Build a flow, step by step

**1. Say what should happen**

Name the trigger, the apps and the result. "When a call ends as Converted, add the lead to Pipedrive" is enough. The app looks up which apps and actions exist and which fields each one needs.

**2. Connect the apps it needs**

A step that uses an app needs that app connected in your Integrations. If one isn't connected, the app gives you a link to the Integrations page. You log in to your own account there. The AI app never sees your password.

**3. Let it build the draft**

The app builds the flow as a draft and checks it for errors. A draft changes nothing in your apps and doesn't run on its own.

**4. Test it**

A test runs the real steps in your connected apps. It can create or change data there, so use a test contact and read the plan before you say yes.

**5. Switch it on**

When the test looks right, ask the app to publish the flow and switch it on. From then on it runs on its trigger, like any flow you built by hand.

Your flow shows up on the **Integrations** page in Topcalls. You can open it, read every step and change it yourself.

## Which tools does the app use?

The names below are what your AI app sees. Each starts with `integrations_`.

| Group | Tools | What they do |
| - | - | - |
| Look | `integrations_list_flows`, `integrations_flow_structure`, `integrations_research_pieces`, `integrations_get_piece_props`, `integrations_resolve_property_options`, `integrations_list_connections`, `integrations_list_runs`, `integrations_get_run` | Read your flows, their steps and their runs. Find apps, their actions, fields and the choices a field allows. List the apps you connected. Change nothing. |
| Build a draft | `integrations_build_flow`, `integrations_add_step`, `integrations_update_step`, `integrations_update_trigger`, `integrations_delete_step`, `integrations_validate_flow` | Create a flow, add, change or remove steps, change the trigger, and check the flow for errors. Removing a step changes only the draft. The live version keeps running until the next publish. |
| Test and switch on | `integrations_test_flow`, `integrations_lock_and_publish`, `integrations_change_flow_status` | Test a flow with real steps, publish it and switch it on, or switch a flow on or off. |
| Connect | `integrations_connect_app` | Gives you the link that opens the login for one app. |

Topcalls marks `integrations_test_flow`, `integrations_lock_and_publish` and `integrations_delete_step` as not undoable, so AI apps like Claude can ask you before they run one.

## Who sees these tools?

* **Full-access connection and a role that manages Integrations:** every tool in the table.
* **Read-only connection:** the Look tools only. The app can read your flows and runs but can't build or change anything.
* **A member who can only view Integrations:** none of the builder tools.
* **ChatGPT:** Topcalls offers the same tools as to every other app. In the plugin from the library, ChatGPT shows a tool only after OpenAI approves it, so a builder tool can be missing there.
* **An account without Integrations:** none. The app answers with the link to switch Integrations on.

## What the app can't do

* Delete a flow. Delete flows on the **Integrations** page.
* Run a single action in an app outside a flow.
* Retry a failed run.

## What stays with you

The AI app does what you ask, so read the plan before you approve a test or a publish. A tested or published flow acts in your connected apps with your account's login and can create, change or delete data there.

You can end your AI app's connection at any time on the **CLI & MCP** page. See [Security and limits](https://docs.topcalls.ai/mcp/security.md).

To run a flow you already have instead, see [Integrations from your AI app](https://docs.topcalls.ai/guides/integrations-from-your-ai-app.md).


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