Integration steps
Integrations steps connect flows to external systems: HTTP Request for APIs, Call MCP Tool for agent MCP connectors, Google Sheets for spreadsheet logging, and Send Email via SMTP or Gmail.
Live URL: live.chatmaven.ai/workspaces/flows
HTTP Request
Call an external HTTP API from a flow—for example to look up account data, validate an ID, or notify another system. Map parts of the JSON response into flow variables for use in later Message, Condition, or Update Contact steps.
- Store secrets in your API gateway or use server-side auth profiles configured in ChatMaven (Manage API connections).
- Use HTTPS endpoints in production.
- Restrict who can edit flows that contain HTTP steps in your workspace.
Configuration overview
Add HTTP Request from STEPS under Integrations, then click the node to open the panel.

| Field | Purpose |
|---|---|
| Connection | Optional auth profile (or None — no auth). |
| URL | Endpoint. You may use {{variables}} in the URL where supported. |
| Method | HTTP verb (GET, POST, PUT, PATCH, DELETE). |

| Field | Purpose |
|---|---|
| Query parameters | Key/value pairs appended to the URL. |
| Headers | Name/value pairs (for example Content-Type, Authorization). |

| Field | Purpose |
|---|---|
| Body | Request payload for POST/PUT; JSON key-value, JSON raw, form URL-encoded, or raw text. |

| Field | Purpose |
|---|---|
| Response mapping | Map JSON paths to variable names (for example $.data.balance → account_balance). |
| Save HTTP status as variable | Optional status code variable (for example api_status). |
| On error | Continue on success path or follow failure branch. |
Steps:
- Define the request (URL, method, headers, body).
- Add response mapping rows: JSON path → variable name.
- Wire OK and Fail ports on the canvas as needed.
- Save the step.
- Add a Condition step to branch on
api_statusor mapped fields when needed.
Typical pattern:
HTTP Request → Condition (status is 200) → Message (success)
└→ Otherwise → Message (error) or Assign To
Tips:
- Map only the JSON fields you need; avoid storing full responses in variables.
- Use test endpoints during development; switch to production URLs only when Active.
- Whitelist ChatMaven egress IPs on your firewall if your API restricts by IP (ask support for current ranges).
Call MCP Tool
Call a tool on an MCP connector configured for the flow’s agent. Tool results are written to the flow variable _mcp_result for later steps.

- Connect and enable an MCP server on the agent (workspace agent MCP settings) before using this step.
- Add Call MCP Tool from STEPS under Integrations.
- Click the node and select an MCP connector.
- Choose a Tool (use Refresh tools if the list is empty or outdated).
- Review the Parameters table (name, type, required).
- Edit Arguments (JSON) — fill required values and use
{{variables}}where needed. - Save the step, then Save the flow.
Configuration:
| Field | Purpose |
|---|---|
| MCP connector | Enabled MCP server for the selected agent. |
| Tool | Discovered tool name on that connector. |
| Parameters | Read-only schema summary for the selected tool. |
| Arguments (JSON) | JSON body passed to the tool; supports {{vars}}. |
Tips:
- Select the correct agent in the flow header so the connector list matches production.
- Map only the fields you need into later Message, Condition, or Add Note steps from
_mcp_result. - If discovery fails, click Refresh tools or type the tool name when the UI allows fallback entry.
Google Sheets
Append flow data to a Google Sheet when the Google Sheets integration is connected.

- Connect Google Sheets under agent integrations first.
- Add Google Sheets from STEPS under Integrations.
- Click the node and choose a Google account connection.
- Select the spreadsheet (search or Enter spreadsheet ID manually), then Validate if using an ID/URL.
- Set Sheet name, optionally List sheets in spreadsheet, then Fetch sheet headers.
- Map Column → variable (flow variables or contact fields) for each column you want to write.
- Save the step.
Tips:
- Test with a single row before using in high-volume flows.
- Place after data collection steps (Question, ChatMaven Form, HTTP Request) so variables are populated.
- Use the same variable groups as Update Contact and Condition when picking sources.
Send Email
Send an email through any Email SMTP or Google Gmail connection in the workspace. Use {{variables}} for form fields, contact data, or AI Task outputs (for example {{_ai_email_body}}, {{_ai_summary}}).

- Ensure at least one agent in the workspace has Email SMTP or Google Gmail connected.
- Add Send Email from STEPS under Integrations.
- Click the node and configure To, optional Bcc, Subject, and Body.
- Choose Body format (Auto, Always HTML, or Always plain text).
- Choose Send via — Auto (flow agent) or a specific workspace connection.
- Optionally set Save status to variable (
ok/failed) and On failure (continue vs Fail edge). - Wire OK and Fail ports on the canvas as needed.
- Save the step, then Save the flow.
Configuration:
| Field | Purpose |
|---|---|
| To | Recipients. Comma-separated; supports {{variables}}. |
| Bcc (optional) | Hidden recipients; comma-separated. |
| Subject | Subject line; supports variables. |
| Body | Message body. For AI HTML tables, put a variable such as {{_ai_email_body}} alone or with labels — HTML is auto-detected when format is Auto. |
| Body format | Auto, Always HTML, or Always plain text. |
| Send via | Auto (SMTP if connected on the flow agent, else Gmail) or a listed workspace SMTP/Gmail connection. |
| Save status to variable | Optional variable storing ok or failed. |
| On failure | Continue on the success edge when possible, or use the Fail edge when send fails. |
Typical pattern:
ChatMaven Form → Run AI Task → Send Email
├→ OK → Message (success)
└→ Fail → Message (error) or Create Ticket
Tips:
- To and Subject are required; incomplete Send Email steps show in Flow validation notes.
- Prefer AI output variables for long HTML bodies so formatting stays intact.
- Scope the flow to an agent that has the email connection you expect when using Auto.
FAQ
Can I use OAuth 2.0 login flows in HTTP Request?
Use endpoints that accept static API keys or bearer tokens in headers unless your workspace documents a supported OAuth profile. Interactive OAuth consent flows are generally not suitable inside a single HTTP step.
What if the API is slow?
Long requests may time out. Keep backends fast or use asynchronous patterns on your API where possible.
Why are my mapped variables empty?
Check JSON paths, response content-type, and Flow validation notes. Empty variables may still render in messages using guest fallback text.
Why is Call MCP Tool missing connectors?
Confirm the flow header selects an agent that has MCP connectors enabled, then reopen the step and use Refresh tools.
Why does Send Email fail validation?
To and Subject are required. Also confirm a workspace Email SMTP or Google Gmail connection exists for Send via.
Related
- Flows overview
- Conversation steps — Condition
- AI Tasks
- AI steps — Run AI Task
- Routing & CRM — Set Variable
- Routing & CRM — Create Ticket
- API keys (account-level API access, separate from flow HTTP steps)