Skip to main content
Glama

Multilead Open API MCP Server

by vanman2024

export_leads_from_campaign

Export campaign leads to CSV format using advanced filters for verified emails, connection status, company names, and other criteria to target specific audience segments.

Instructions

Export leads from a specific campaign in CSV format with advanced filtering

Supports 7 groups of filters with OR logic within groups and AND logic between groups.

Args: user_id: The ID of the user account_id: The ID of the account (seat) campaign_id: The ID of the campaign to export leads from search: Search leads by fullName, email, company, headline, etc. filter_by_verified_emails: Export leads with verified emails filter_by_not_verified_emails: Export leads without verified emails filter_by_status: Filter by status ([1]=Discovered, [2]=Connection pending, [3]=Connected not replied, [4]=Replied) filter_by_connection_degree: Used with filter_by_status=[4] for additional status filtering filter_by_current_step: Export leads on specific campaign steps filter_by_selected_leads: Export specific leads by their IDs filter_by_name: Export leads whose names contain this value filter_by_company: Export leads whose company contains this value filter_by_occupation: Export leads whose occupation contains this value filter_by_headline: Export leads whose headline contains this value filter_by_out_of_office: Export leads with "Out of office" status filter_by_step_change_timestamp: Export leads with stepChangeTimestamp greater than this

Returns: CSV export data or download URL

Example: export_leads_from_campaign( user_id="123", account_id="456", campaign_id="789", filter_by_status=[4], filter_by_verified_emails=True )

Input Schema

NameRequiredDescriptionDefault
user_idYes
account_idYes
campaign_idYes
searchNo
filter_by_verified_emailsNo
filter_by_not_verified_emailsNo
filter_by_statusNo
filter_by_connection_degreeNo
filter_by_current_stepNo
filter_by_selected_leadsNo
filter_by_nameNo
filter_by_companyNo
filter_by_occupationNo
filter_by_headlineNo
filter_by_out_of_officeNo
filter_by_step_change_timestampNo

Input Schema (JSON Schema)

{ "properties": { "account_id": { "type": "string" }, "campaign_id": { "type": "string" }, "filter_by_company": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "filter_by_connection_degree": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null }, "filter_by_current_step": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null }, "filter_by_headline": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "filter_by_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "filter_by_not_verified_emails": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "filter_by_occupation": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "filter_by_out_of_office": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "filter_by_selected_leads": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null }, "filter_by_status": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null }, "filter_by_step_change_timestamp": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "filter_by_verified_emails": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null }, "search": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null }, "user_id": { "type": "string" } }, "required": [ "user_id", "account_id", "campaign_id" ], "type": "object" }

Other Tools from Multilead Open API MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/vanman2024/multilead-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server