Lead Connector Logo
Knowledge Base

Workflows in the LeadConnector MCP Server

Connect an AI assistant to your LeadConnector account to inspect automations, diagnose failed runs, and draft workflows for your team to review.

What you can do

Find and inspect workflows

Filter by name, folder, status or date. Read a workflow’s complete definition, including its triggers, actions, branches and settings.

Draft a new workflow

Describe the trigger, steps and outcome. The assistant can discover available actions and triggers, check the definition, and save a draft.

Update, publish or return to draft

Update the workflow definition and review it in the builder. Publishing is a separate action; returning to draft disables triggers and pauses active contacts at their next step.

Analyze run history

Identify who entered, see what happened at each step, and use the recorded errors to diagnose failures. Use aggregate summaries when you do not need contact details.

Measure workflow outcomes

Group enrollments, completions and step failures by hour, day or week. Ask for a time zone and date range when comparing periods.

Manage enrollment or delete a workflow

Adding or removing a contact uses the contact operations, not workflow editing. Permanent workflow deletion requires extra confirmation and stops all active participants.

Connect your assistant

Make sure your LeadConnector account has workflow access and grant only the permissions you need. Sign in on LeadConnector, choose your account, and approve access. You do not paste an API key into chat.

ChatGPT

  1. Open ChatGPT on the web. In Settings → Security and login, switch on Developer mode. If your version groups it under Apps or Apps & Connectors, open Advanced settings there instead.
  2. Open Plugins and click + to create a plugin. In the Apps layout, choose Create app instead.
  3. Enter a name such as LeadConnector and a short description. In Connection, paste the exact MCP server URL below and create the connection.
  4. Sign in to LeadConnector, select your LeadConnector account, and approve the workflow permissions you need.
  5. Start a new chat. Open the tools menu, add the LeadConnector connection, and ask it to list the workflows in the selected account.
https://services.leadconnectorhq.com/mcp/openai/v2/
Official setup details

Codex

  1. In your terminal, run the first command below to add the remote server.
  2. Run the second command to sign in. Choose the LeadConnector account and approve the workflow permissions you need.
  3. In the IDE extension, you can instead open MCP settings, add a Streamable HTTP server with the same URL, then restart the extension and authenticate.
  4. Start a new session and ask Codex to list the workflows in the connected account.
codex mcp add leadconnector --url https://services.leadconnectorhq.com/mcp/openai/v2/
codex mcp login leadconnector

Claude web and Cowork

  1. In Claude, open Settings → Connectors and select Add custom connector. In Cowork, use its connector settings to add the same custom connector.
  2. Name it LeadConnector, paste the URL below, and select Connect.
  3. Sign in to LeadConnector, select your account, and approve the permissions.
  4. Start a new Claude chat or Cowork session, make sure LeadConnector is enabled, and ask it to list workflows.
https://services.leadconnectorhq.com/mcp/anthropic/v2

Claude Code

  1. Open a terminal and run the command below to register LeadConnector as an HTTP MCP server.
  2. Start Claude Code, enter /mcp, and follow the browser sign-in prompt.
  3. Choose the LeadConnector account and approve workflow permissions. Run claude mcp list to verify the configuration.
  4. Ask for a read-only list of workflows before requesting changes.
claude mcp add --transport http leadconnector https://services.leadconnectorhq.com/mcp/anthropic/v2

Cursor

  1. Open .cursor/mcp.json in your project, or ~/.cursor/mcp.json to use the connector in all projects.
  2. Add the configuration below. If mcpServers already exists, merge in just the leadconnector entry and save the file.
  3. When Cursor prompts you, sign in to LeadConnector, choose your account, and approve the required permissions.
  4. Confirm that LeadConnector appears in Cursor’s MCP settings, then ask it to list workflows in the selected account.
{
  "mcpServers": {
    "leadconnector": {
      "url": "https://services.leadconnectorhq.com/mcp/cursor/v2"
    }
  }
}

Muse

  1. Open the apps area in Muse and add the official LeadConnector app. The linked setup video shows where to find it.
  2. Sign in to LeadConnector, choose the account, and approve the permissions.
  3. In a new Muse chat, select LeadConnector and ask which workflow actions the connection supports before requesting any changes.
Official setup details

Grok Bot

  1. Open Connect apps and add the official LeadConnector app.
  2. Sign in to LeadConnector, select the account, and approve the permissions. In chat, type @ and choose LeadConnector.
  3. To use a custom connector instead, in the desktop app open Connect apps → Add a custom connector, name it LeadConnector, choose Remote HTTPS, and paste the URL below. Save and complete sign-in.
  4. Ask the assistant which workflow actions it can use before requesting changes.
https://services.leadconnectorhq.com/mcp/grok/v2

Example requests

Find and explain
In our Demo location, list draft workflows in the Sales folder. For each, summarize its trigger and the branch conditions. Do not change anything.
Diagnose a drop-off
For Consultation Follow-up over the past seven days, group live failures by step and error. Return counts only and separate failures from intentional exits.
Email contacts with a specific tag
In the Demo account, build a draft workflow that starts when the consultation-lead tag is added. Send an introduction email with a booking link, wait two business days, and follow up once only if the contact has not replied or booked. Exclude anyone who is unsubscribed or has email DND enabled. Show the steps and email drafts; do not publish or send anything.
Follow up with contacts who already have a tag
Find contacts already tagged webinar-attendee who are eligible for email. Show the audience count and draft a thank-you email plus one reminder for people who haven’t booked. Ask me to review the audience and copy before enrolling contacts or sending.
Check outcomes
Compare enrollments and completions for Consultation Follow-up by week in the last 28 days. Use the account time zone and include the date boundaries.

Publishing and limits

Review before publishing

Preview the request when supported and inspect the draft in Automation → Workflows. Test the trigger, conditions and intended actions in a test location. A preview does not run the workflow, and publishing activates its triggers.

Plan updates to live workflows

Editing through this connection replaces the full definition, rather than patching one step. Start from the latest version, set the published workflow to draft first, and choose a maintenance window. A conflicting edit in the builder causes the update to be rejected. Review the revised definition before republishing.

Check linked accounts and permissions

App steps can only use app accounts already connected in that account. Approve workflow read, edit, publish, delete and log access separately as needed. Deleting is irreversible.

Use logs with care

Execution-log requests can cover at most 30 days at a time, with history available up to 60 days back. Test workflow runs do not appear in the live logs. Logs can include contact names and emails; only request or share what your team needs.

Name the account

One action is scoped to one authorized account. If your connection can access more than one account, name the one you want in each request.

How the assistant runs a request

  1. list_locations

    Choose an authorized account.

  2. search_operations

    See which workflow operations the connection exposes.

  3. describe_operation

    Check the required inputs, permissions and approval rules.

  4. execute_operation

    Run the approved operation, or preview it where supported.

Troubleshooting

Why is the Workflows API unavailable for my account?

Check that you selected the right account and approved the workflow permissions. If the error persists, share the error code with LeadConnector support.

Why can I read workflows but not change them?

An older connection may lack write permissions, and the generic /mcp/v2 endpoint only requests workflow read access. Re-add the connection with the correct platform endpoint, authorize the relevant privileges, and open a fresh chat. In Muse and Grok Bot, confirm the actions the connection actually exposes.

Why is a workflow run missing from the logs?

Check the account, workflow, date range and log permissions. Test workflow runs are not part of live history, and older live runs can fall outside retention.

How should I report a failed request?

Record the workflow, operation, time, error text and traceId if available. Avoid sharing API keys, credentials or contact data unnecessarily. Ask support to help identify the cause.

Need help connecting your account?

For more details, visit the LeadConnector Help Center: Read the official LeadConnector Workflows guide