The La Growth Machine connector lets your AI agent act in each user's La Growth Machine account. Each user connects their own La Growth Machine access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 46 tools.
- Tools
- 46
- What they doRead · write · destructive
- 23 · 22 · 123 read22 write1 destructive
- Users sign in with
- Access token
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the La Growth Machine connection
In AgentKit > Connections, create a La Growth Machine connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'lagrowthmachine'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize La Growth Machine:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'lagrowthmachine_get_me',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "lagrowthmachine"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize La Growth Machine:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="lagrowthmachine_get_me",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user opens the link once and enters their La Growth Machine credentials there. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toollagrowthmachine_get_audienceGet details of one audience, including its import progress.Read-onlyGet Audience
Get details of one audience, including its import progress. Returns id, name, size, type, created and modified dates, and importStatus. Use to follow an import started with import_audience_from_linkedin. Use list_audiences to browse all audiences.
Inputs
audience_idstringrequired- ID of the audience (24-character hex ObjectId). Get it from lagrowthmachine_list_audiences.
lagrowthmachine_get_audience_leadsList the leads in an audience with their full lead records, paginated with skip and limit.Read-onlyGet Audience Leads
List the leads in an audience with their full lead records, paginated with skip and limit. Returns lead profile fields, emails, enrichment status, audiences and status, plus the total lead count. Use to browse an audience. Use search_lead to find one lead across the workspace.
Inputs
audience_idstringrequired- ID of the audience (24-character hex ObjectId). Get it from lagrowthmachine_list_audiences.
limitinteger- Maximum number of items to return.default
25 skipinteger- Number of items to skip, for pagination.default
0
lagrowthmachine_get_campaignGet the configuration and status of one campaign.Read-onlyGet Campaign
Get the configuration and status of one campaign. Returns name, status, objective, language, channels, audience name and size, identity, and sync and enrichment settings. Use for campaign settings. Use get_campaign_stats for performance numbers.
Inputs
campaign_idstringrequired- ID of the campaign (24-character hex ObjectId). Get it from lagrowthmachine_list_campaigns.
lagrowthmachine_get_campaign_lead_statsGet per-lead results of a campaign, such as emails sent, opened and replied, LinkedIn actions and status.Read-onlyGet Campaign Lead Stats
Get per-lead results of a campaign, such as emails sent, opened and replied, LinkedIn actions and status. Returns a list of leads with their per-channel activity flags, plus count, hasMore and hasLess. Use for lead-level reporting. Use get_campaign_stats for totals.
Inputs
campaign_idstringrequired- ID of the campaign (24-character hex ObjectId). Get it from lagrowthmachine_list_campaigns.
get_leads_afterstring- Lead ID. Returns the leads that come after this one (next page).
get_leads_beforestring- Lead ID. Returns leads that come before this one, starting from the first lead of the campaign (see the known issue in the description of `hasLess`).
lagrowthmachine_get_campaign_messagesList the message templates of a campaign.Read-onlyGet Campaign Messages
List the message templates of a campaign. Returns each template id, type, channel, HTML content, subject, order and active flag. Use to read messages or to find the templateId for edit_campaign_message. Use get_campaign_steps for the step structure.
Inputs
campaign_idstringrequired- ID of the campaign (24-character hex ObjectId). Get it from lagrowthmachine_list_campaigns.
lagrowthmachine_get_campaign_statsGet aggregated performance statistics of a campaign.Read-onlyGet Campaign Stats
Get aggregated performance statistics of a campaign. Returns audience size, started, completed, converted and skipped counts, reply, relation and channel breakdowns, status counts and per-template stats. Use for campaign totals. Use get_campaign_lead_stats for per-lead results.
Inputs
campaign_idstringrequired- ID of the campaign (24-character hex ObjectId). Get it from lagrowthmachine_list_campaigns.
lagrowthmachine_get_campaign_stepsList the sequence steps of a campaign.Read-onlyGet Campaign Steps
List the sequence steps of a campaign. Returns each step id, type, channel, position, whether it has a message, and its template id and name. Use to find the stepId for add_campaign_step_message. Use get_campaign_messages for message content.
Inputs
campaign_idstringrequired- ID of the campaign (24-character hex ObjectId). Get it from lagrowthmachine_list_campaigns.
lagrowthmachine_get_conversation_messagesRead the messages of an inbox conversation, paginated.Read-onlyGet Conversation Messages
Read the messages of an inbox conversation, paginated. Returns each message id, channel, status, content, sender, direction, date and attachments, plus the total. Use after search_conversations or get_lead_conversations.
Inputs
conversation_idstringrequired- ID of an inbox conversation. Get it from lagrowthmachine_search_conversations or lagrowthmachine_get_lead_conversations.
pageinteger- Accepted (integer, 0 or more) but currently has no effect: the 25 most recent messages are always returned.default
0
lagrowthmachine_get_creditsGet the enrichment credit balance of the workspace.Read-onlyGet Credits
Get the enrichment credit balance of the workspace. Returns total and perishable credits, and whether the workspace has CRM and extension access. Use before enrich_lead or enrich_linkedin_post, which spend credits.
Inputs
This tool takes no inputs.
lagrowthmachine_get_enrich_resultRead the result of an enrichment request started with enrich_lead.Read-onlyGet Enrich Result
Read the result of an enrichment request started with enrich_lead. Returns status, email, emailStatus, phone, linkedinProfile, provider and enrichedAt; results stay readable for 24 hours. Use after enrich_lead in polling mode.
Inputs
enrich_request_idstringrequired- ID returned by lagrowthmachine_enrich_lead when the request was started in polling mode.
lagrowthmachine_get_lead_conversationsList the inbox conversations of a lead, one per sending identity.Read-onlyGet Lead Conversations
List the inbox conversations of a lead, one per sending identity. Returns conversation id, identity, status, last message time and preview, and whether the lead replied. Use to find the conversationId for get_conversation_messages or the conversation actions.
Inputs
lead_idstringrequired- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
identity_idstring- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
lagrowthmachine_get_lead_logsList the activity log of a lead (messages sent, replies, status changes), paginated.Read-onlyGet Lead Logs
List the activity log of a lead (messages sent, replies, status changes), paginated. Returns entries with type, status, channel, message, date, campaign, step and reply, plus the total. Use to review what happened with a lead. Use get_lead_conversations for its inbox conversations.
Inputs
lead_idstringrequired- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
identity_idstring- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
limitinteger- Maximum number of items to return.default
25 skipinteger- Number of items to skip, for pagination.default
0
lagrowthmachine_get_meGet the member behind the API key.Read-onlyGet Authenticated Member
Get the member behind the API key. Returns the member id and email. Use to check the key works or to learn which member actions are performed as.
Inputs
This tool takes no inputs.
lagrowthmachine_list_audiencesList all audiences in the workspace.Read-onlyList Audiences
List all audiences in the workspace. Returns each audience id, name, type, size (lead count) and import state. Use to find an audience id. Use get_audience for one audience import progress, get_audience_leads for its leads.
Inputs
This tool takes no inputs.
lagrowthmachine_list_campaignsList the campaigns of the workspace, paginated, optionally filtered by status or name.Read-onlyList Campaigns
List the campaigns of the workspace, paginated, optionally filtered by status or name. Returns each campaign id, name, status, channels, audience, identity, lead count and reply rate. Use to find a campaign id. Use get_campaign for one campaign and list_public_campaigns for shareable templates.
Inputs
limitintegerrequired- Number of campaigns to return (25 max).
searchstring- Case-insensitive search on the campaign name.
skipinteger- Number of campaigns to skip (0 minimum).default
0 statusstring- Comma-separated list of statuses to keep, among RUNNING, READY, PAUSED, CANCELED.
lagrowthmachine_list_identitiesList the connected sending identities (LinkedIn and email accounts) of the workspace.Read-onlyList Identities
List the connected sending identities (LinkedIn and email accounts) of the workspace. Returns each identity id, name, LinkedIn connection state, company and job title. Use to find an identityId for sending messages or importing from LinkedIn.
Inputs
This tool takes no inputs.
lagrowthmachine_list_identity_preferencesList the preferences saved for a sending identity, optionally for one category.Read-onlyList Identity Preferences
List the preferences saved for a sending identity, optionally for one category. Returns each preference id, category, key, value, channel and dates, plus the total. Use before save_identity_preference or delete_identity_preference.
Inputs
identity_idstringrequired- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
categorystring- Only return the preferences of this category.
lagrowthmachine_list_membersList the members of the workspace.Read-onlyList Members
List the members of the workspace. Returns each member id, name and label. Use to find a memberId for send_linkedin_message.
Inputs
This tool takes no inputs.
lagrowthmachine_list_public_campaignsList shareable campaign templates (public, recommended or featured).Read-onlyList Public Campaigns
List shareable campaign templates (public, recommended or featured). Returns each template id, name, channels, tags and origin. Use to browse templates. Use list_campaigns for the campaigns of this workspace.
Inputs
typestring- Which kind of shared campaign templates to list. Allowed values: public, recommended, featured.one of
publicrecommendedfeatureddefaultpublic
lagrowthmachine_list_workspacesList the workspaces the API key can act in.Read-onlyList Workspaces
List the workspaces the API key can act in. Returns multiWorkspace and each workspace id, name, company, slug, plan and identity count. Use to inspect a multi-workspace account.
Inputs
This tool takes no inputs.
lagrowthmachine_search_conversationsSearch and filter inbox conversations by text, lead, identity, campaign, audience, status, channel and dates.Read-onlySearch Conversations
Search and filter inbox conversations by text, lead, identity, campaign, audience, status, channel and dates. Returns conversation ids and metadata (lead, identity, last message time, status, type) with total, hasMore and nextToken; no message text. Use to find conversations, then get_conversation_messages to read them. Pass nextToken as search_after for the next page.
Inputs
audience_idsstring- Only conversations with leads of these audiences. Comma-separated audience IDs.
call_completed_at_frominteger- Only conversations with a call completed at or after this Unix timestamp in milliseconds.
call_completed_at_tointeger- Only conversations with a call completed at or before this Unix timestamp in milliseconds.
campaign_idsstring- Campaign IDs, comma-separated. A campaign filters on its audience and its identity; ignored for each of these when `audienceIds` or `identityIds` is also set. Comma-separated values.
favouriteboolean- `true`: only the conversations starred by the member. `false` has no effect.
identity_idsstring- Only conversations of these sending identities. Comma-separated identity IDs.
last_message_at_frominteger- Only conversations whose last message is at or after this Unix timestamp in milliseconds.
last_message_at_tointeger- Only conversations whose last message is at or before this Unix timestamp in milliseconds.
last_message_statusstring- Status of the last message, comma-separated. `RECEIVED` = the lead spoke last, `SENT` = you spoke last. Comma-separated values.
last_message_typestring- Filter by type of the last message. Comma-separated values from LINKEDIN, EMAIL, INFO_TEMPLATE_SNOOZE, LGM, COMMENT, MANUAL_TASK, AUTO_QUALIFY.
lead_idsstring- Only conversations with these leads. Comma-separated lead IDs.
lead_repliedboolean- When true, only conversations where the lead replied; when false, only those without a reply.
limitinteger- Maximum number of items to return.default
25 perseverancestring- Reply manager follow-up filter. `PERSEVERED` = conversations already followed up; `TO_PERSEVERE` = open or curious replies still to follow up. Allowed values: PERSEVERED, TO_PERSEVERE.one of
PERSEVEREDTO_PERSEVERE qstring- Full-text search on leads (name, company...). Only conversations of the matching leads are returned.
readboolean- `false`: unread conversations only; `true`: read ones only.
search_afterstring- Pagination token: pass the nextToken of the previous page, with the same filters and sort.
sort_directioninteger- Sort direction: -1 for newest first, 1 for oldest first. Allowed values: 1, -1.one of
1-1default-1 sort_fieldstring- Field to sort by: lastMessageAt, callCompletedAt or snoozeUntil. Allowed values: lastMessageAt, callCompletedAt, snoozeUntil.one of
lastMessageAtcallCompletedAtsnoozeUntildefaultlastMessageAt statusstring- Filter by conversation status. Comma-separated values from OPEN, SNOOZED, ARCHIVED.
unsubscribedboolean- When true, only conversations with unsubscribed leads.
lagrowthmachine_search_crmLook up a lead in the CRM connected to the workspace (HubSpot or Pipedrive).Read-onlySearch CRM
Look up a lead in the CRM connected to the workspace (HubSpot or Pipedrive). Returns one result per connected CRM with found, tooManyResults and the matching contact. Use to check whether a lead already exists in the CRM. Read-only despite using POST.
Inputs
company_namestring- Name of the lead's company.
emailstring- Email address (professional or personal) of the lead.
firstnamestring- First name of the lead. Matching by name needs the last name and a company name or company URL as well.
hubspot_idstring- HubSpot contact ID to look up.
lastnamestring- Last name of the lead.
linkedin_long_public_idstring- Long form of the LinkedIn public identifier.
linkedin_urlstring- LinkedIn profile URL of the lead.
perso_emailstring- Personal email address of the lead.
pipedrive_idstring- Pipedrive person ID to look up.
pro_emailstring- Professional (work) email address of the lead.
lagrowthmachine_search_leadFind one lead in the workspace by id, CRM id, LinkedIn identifiers, email, or first name + last name + company.Read-onlySearch Lead
Find one lead in the workspace by id, CRM id, LinkedIn identifiers, email, or first name + last name + company. Returns the first matching lead with its involved campaigns and recent activity logs; responds 404 when nothing matches. Use to look up a single known lead. Use get_audience_leads to list the leads of an audience. At least one search criterion is required.
Inputs
company_namestring- Lead company name.
company_urlstring- Website of the lead's company.
crm_idstring- External CRM ID of the lead (HubSpot or Pipedrive contact ID).
emailstring- Email address (professional or personal) of the lead.
firstnamestring- First name of the lead. Matching by name needs the last name and a company name or company URL as well.
lastnamestring- Lead lastname.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
linkedin_idstring- Lead LinkedIn numeric id.
linkedin_long_public_idstring- Long form of the LinkedIn public identifier.
linkedin_public_idstring- LinkedIn public identifier (the slug in the profile URL).
linkedin_urlstring- Lead LinkedIn profile URL (with or without trailing slash).
lagrowthmachine_add_campaign_step_messageAdd a message to a campaign step that has no message yet.WriteAdd Campaign Step Message
Add a message to a campaign step that has no message yet. Returns the new message id, step id, channel, content and subject. Use get_campaign_steps to find steps where hasMessage is false. Use edit_campaign_message to change an existing message.
Inputs
campaign_idstringrequired- ID of the campaign (24-character hex ObjectId). Get it from lagrowthmachine_list_campaigns.
new_htmlstringrequired- The message body, in the `newHtml` format.
step_idstringrequired- ID of the step, the `stepId` returned by `GET /campaigns/{campaignId}/steps`.
subject_new_htmlstring- Email steps only: the subject, as a single `<p>…</p>` containing text, `<var/>` or `<spin>`. Ignored for LinkedIn and Twitter steps.
lagrowthmachine_archive_conversationArchive an inbox conversation.WriteArchive Conversation
Archive an inbox conversation. Returns the conversation id, lead id, archived flag and timestamp. Use to clear handled conversations. Reverse with unarchive_conversation. Provide conversationId, or identify the lead with leadId, email or linkedinUrl and narrow with identityId or campaign.
- Idempotent
Inputs
campaign_idstring- When the lead is identified without `conversationId`, picks the conversation with this campaign's identity.
campaign_namestring- Name of the campaign, used with a lead identifier to pick the right conversation (the campaign's identity is used).
conversation_idstring- ID of an inbox conversation. Get it from lagrowthmachine_search_conversations or lagrowthmachine_get_lead_conversations.
emailstring- Email of the lead, alternative to `conversationId`.
identity_idstring- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
linkedin_urlstring- LinkedIn profile URL of the lead (must contain `linkedin.com`), alternative to `conversationId`.
lagrowthmachine_complete_call_manual_taskMark a manual call task of a campaign as completed with its outcome and an optional lead tag.WriteComplete Call Manual Task
Mark a manual call task of a campaign as completed with its outcome and an optional lead tag. Returns the task id, call status, tag and task status. Use when a rep has made the call a campaign step asked for.
Inputs
call_statusstringrequired- Outcome of the call: DECISIVE (reached the decision point) or UNREACHABLE. Allowed values: DECISIVE, UNREACHABLE.one of
DECISIVEUNREACHABLE manual_task_idstringrequired- ID of the manual task to complete (a manual call or message step of a campaign).
tagstring- Optional lead tag to apply when the task is completed. See the allowed values in the description. Allowed values: NOT_ACTIVATED, SKIPPED, ACTIVATED, ENRICHED, CONTACTED, COMPLETED_WITHOUT_REPLY, TO_QUALIFY, UNSUBSCRIBED, OUT_OF_OFFICE, WRONG_TIMING, INTERESTED, NOT_INTERESTED, CALL_BOOKED, NEGOTIATING, READY_TO_BUY, CONVERTED, WRONG_TARGET, ALREADY_EQUIPPED.one of
NOT_ACTIVATEDSKIPPEDACTIVATEDENRICHEDCONTACTEDCOMPLETED_WITHOUT_REPLYTO_QUALIFYUNSUBSCRIBEDOUT_OF_OFFICEWRONG_TIMINGINTERESTEDNOT_INTERESTEDCALL_BOOKEDNEGOTIATINGREADY_TO_BUYCONVERTEDWRONG_TARGETALREADY_EQUIPPED
lagrowthmachine_complete_message_manual_taskComplete a manual message task of a campaign by sending the message for it.WriteComplete Message Manual Task
Complete a manual message task of a campaign by sending the message for it. Returns the task id and task status. Use when a campaign step is set to manual messaging.
Inputs
manual_task_idstringrequired- ID of the manual task to complete (a manual call or message step of a campaign).
messagestringrequired- Message to send. Plain text for LinkedIn, HTML for email.
attachmentsarray- Files attached to the email (email steps only).
bccstring- Comma-separated BCC recipients (email steps only).
ccstring- Comma-separated CC recipients (email steps only).
subjectstring- Email subject (email steps only).
lagrowthmachine_create_audienceCreate an empty audience (type CLASSIC) with a unique name.WriteCreate Audience
Create an empty audience (type CLASSIC) with a unique name. Returns the new audience id and name. Use before adding leads with create_or_update_lead. Use import_audience_from_linkedin to fill an audience from a LinkedIn URL instead.
Inputs
namestringrequired- Audience name. Must be unique in the workspace.
lagrowthmachine_create_or_update_leadCreate a lead, or update it when it already exists (matched by leadId or by identifiers such as email, LinkedIn URL or name + company).WriteCreate Or Update Lead
Create a lead, or update it when it already exists (matched by leadId or by identifiers such as email, LinkedIn URL or name + company). Returns the lead id and a message saying whether the lead was created, merged, updated or ignored. Use to add leads to an audience. Use update_lead_status to change a lead status inside a campaign. At least one lead identifier is required: an email, LinkedIn URL, Twitter, CRM ID, or first name + last name + company name or URL.
Inputs
audiencestring- Name or ID of the target audience. A new audience is created when none matches the name.
biostring- Short bio or LinkedIn headline of the lead (max 5000 characters).
company_namestring- Name of the lead's company.
company_urlstring- Website of the lead's company.
crm_idstring- ID of the matching contact in the CRM connected to the workspace (HubSpot or Pipedrive).
custom_attributesobject- Custom fields to set on the lead, as an object keyed customAttribute1 to customAttribute20 with string values (max 2500 characters each). Example: {"customAttribute1": "Series B"}.
exclude_contacted_leadsboolean- When true, a lead already contacted in one of your campaigns is ignored: nothing is created or updated.default
false firstnamestring- First name of the lead. Matching by name needs the last name and a company name or company URL as well.
genderstring- Gender of the lead. Allowed values: man, woman.one of
manwoman industrystring- Industry of the lead or their company.
job_titlestring- Job title of the lead.
lastnamestring- Last name of the lead.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
linkedin_urlstring- LinkedIn profile URL of the lead.
locationstring- Location of the lead (city, region or country).
notestring- Free-text note shown on the lead profile (max 1500 characters). Replaces any existing note; omit it to keep the current one.
perso_emailstring- Personal email address of the lead.
phonestring- Phone number of the lead.
pro_emailstring- Professional (work) email address of the lead.
profile_picturestring- URL of the profile picture.
relations_countinteger- Number of LinkedIn relations the lead has.
twitterstring- Twitter/X handle or profile URL of the lead.
lagrowthmachine_duplicate_campaignCreate a copy of a campaign.WriteDuplicate Campaign
Create a copy of a campaign. Returns the new campaign id, name and status. Use to reuse a sequence for a new audience, then change it with update_campaign.
Inputs
campaign_idstringrequired- ID of the campaign (24-character hex ObjectId). Get it from lagrowthmachine_list_campaigns.
lagrowthmachine_edit_campaign_messageReplace the HTML content (and email subject) of an existing campaign message template.WriteEdit Campaign Message
Replace the HTML content (and email subject) of an existing campaign message template. Returns the template id, channel, content and subject. Use get_campaign_messages to find the templateId. Use add_campaign_step_message for an empty step.
- Idempotent
Inputs
campaign_idstringrequired- ID of the campaign (24-character hex ObjectId). Get it from lagrowthmachine_list_campaigns.
new_htmlstringrequired- The new message body, in the `newHtml` format described above.
template_idstringrequired- ID of the message to edit (24-character hex string), the `id` returned by `GET /campaigns/{campaignId}/messages`.
subject_new_htmlstring- Email steps only: the subject, as a single `<p>…</p>` containing text, `<var/>` or `<spin>` (no lists, images, headings or signature). Omit it for LinkedIn and Twitter steps. An empty string is accepted.
lagrowthmachine_edit_conversation_noteWrite or append to the note (post-it) of an inbox conversation, up to 1500 characters.WriteEdit Conversation Note
Write or append to the note (post-it) of an inbox conversation, up to 1500 characters. Returns the conversation id, lead id, note, mode, truncated flag and note length. Use to annotate a conversation. Provide conversationId, or identify the lead with leadId, email or linkedinUrl and narrow with identityId or campaign.
Inputs
notestringrequired- Free-text note shown on the lead profile (max 1500 characters). Replaces any existing note; omit it to keep the current one.
campaign_idstring- When the lead is identified without `conversationId`, picks the conversation with this campaign's identity.
campaign_namestring- Name of the campaign, used with a lead identifier to pick the right conversation (the campaign's identity is used).
conversation_idstring- ID of an inbox conversation. Get it from lagrowthmachine_search_conversations or lagrowthmachine_get_lead_conversations.
emailstring- Email of the lead, alternative to `conversationId`.
identity_idstring- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
linkedin_urlstring- LinkedIn profile URL of the lead (must contain `linkedin.com`), alternative to `conversationId`.
modestring- How the note is written: replace (default) overwrites it, append adds to the existing note. Allowed values: replace, append.one of
replaceappenddefaultreplace
lagrowthmachine_enrich_leadStart an enrichment request that finds a professional email, a phone number and/or LinkedIn profile fields for a lead.WriteEnrich Lead
Start an enrichment request that finds a professional email, a phone number and/or LinkedIn profile fields for a lead. Spends credits (up to 5, 1 or 20 depending on enrichType). Returns enrichRequestId and status, plus email, phone or linkedinProfile when ready (always with sync mode). Use get_enrich_result to poll a pending request and get_credits to check the balance first. Identify the lead with leadId, a LinkedIn URL, or first name + last name + company.
Inputs
company_namestring- Name of the lead's company.
company_urlstring- Website of the lead's company.
enrich_typestring- What to enrich: EMAIL_ENRICH (pro email, up to 5 credits), LINKEDIN_ENRICH (profile fields, 1 credit), FULL_ENRICH (profile + email, up to 5 credits) or PHONE_ENRICH (phone, up to 20 credits, needs leadId). Allowed values: EMAIL_ENRICH, LINKEDIN_ENRICH, FULL_ENRICH, PHONE_ENRICH.one of
EMAIL_ENRICHLINKEDIN_ENRICHFULL_ENRICHPHONE_ENRICHdefaultEMAIL_ENRICH firstnamestring- First name of the lead. Matching by name needs the last name and a company name or company URL as well.
lastnamestring- Last name of the lead.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
linkedin_urlstring- HTTPS LinkedIn profile URL.
modestring- polling (default) returns immediately with an enrichRequestId to poll; sync waits up to 60 seconds for the result. Allowed values: polling, sync.one of
pollingsyncdefaultpolling
lagrowthmachine_enrich_linkedin_postFetch the author and engagement details of a LinkedIn post.WriteEnrich LinkedIn Post
Fetch the author and engagement details of a LinkedIn post. Spends 1 credit. Returns post text, reaction and comment counts, share URL, posted date, author and images. Use to analyze a post before importing its engagers. Check get_credits for the balance.
Inputs
post_urlstringrequired- HTTPS URL of the LinkedIn post (must contain `linkedin.com`). Query parameters such as `utm_source` are tolerated.
lagrowthmachine_import_audience_from_linkedinQueue an import of leads into an audience from a LinkedIn search, Sales Navigator, post, followers or event URL.WriteImport Audience From LinkedIn
Queue an import of leads into an audience from a LinkedIn search, Sales Navigator, post, followers or event URL. Returns a status code confirming the import was queued; it runs asynchronously on the identity LinkedIn account. Use get_audience to follow progress. Use create_audience for an empty audience.
Inputs
audiencestringrequired- Name or ID of the target audience. A new audience is created when none matches the name.
identity_idstringrequired- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
linkedin_urlstringrequired- HTTPS LinkedIn URL. Global "All results" search URLs are rejected; use a "People" search.
auto_importboolean- Keep importing new matching leads into the audience over time. Only for Sales Navigator, post, followers and event URLs.default
false exclude_contacted_leadsboolean- When true, a lead already contacted in one of your campaigns is ignored: nothing is created or updated.default
false linkedin_post_categorystring- For a LinkedIn post URL, which engagement to import: people who liked or commented. Allowed values: like, comment.one of
likecomment
lagrowthmachine_remove_lead_from_audiencesRemove a lead from one audience, or from all audiences.WriteRemove Lead From Audiences
Remove a lead from one audience, or from all audiences. Returns a status code only; a lead not present in the audience is silently ignored. Use to take a lead out of an audience. leadId is not accepted here: identify the lead by email, LinkedIn URL, Twitter, CRM ID, or name + company.
- Idempotent
Inputs
audiencestringrequired- Name or ID of the target audience. A new audience is created when none matches the name.
company_namestring- Name of the lead's company.
company_urlstring- Website of the lead's company.
crm_idstring- ID of the matching contact in the CRM connected to the workspace (HubSpot or Pipedrive).
firstnamestring- First name of the lead. Matching by name needs the last name and a company name or company URL as well.
lastnamestring- Last name of the lead.
linkedin_urlstring- LinkedIn profile URL of the lead.
perso_emailstring- Personal email address of the lead.
pro_emailstring- Professional (work) email address of the lead.
twitterstring- Twitter/X handle or profile URL of the lead.
lagrowthmachine_save_identity_preferenceCreate or update a preference of a sending identity.WriteSave Identity Preference
Create or update a preference of a sending identity. Returns a success flag. Use to change identity-level settings such as signature. Use list_identity_preferences to see current values.
- Idempotent
Inputs
categorystringrequired- Preference category, for example `tone`, `language` or `style`.
identity_idstringrequired- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
keystringrequired- Preference key within the category.
valuestringrequired- Preference value.
channelstring- Optional channel scope, for example `linkedin` or `email`. Omit it for a preference that applies to every channel.
lagrowthmachine_send_email_messageSend an email reply to a lead from a connected email identity, inside an existing email thread.WriteSend Email Message
Send an email reply to a lead from a connected email identity, inside an existing email thread. Returns the updated lead record. Use to answer an email conversation. Starting a brand-new thread is not supported. Use send_linkedin_message for LinkedIn. Provide leadId or leadEmail, and either replyInLastThread true or a replyToMessageId.
Inputs
identity_idstringrequired- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
message_htmlstringrequired- HTML version of the email body.
message_textstringrequired- Plain-text version of the email body.
bccstring- Comma-separated list of BCC recipients.
ccstring- Comma-separated list of CC recipients.
lead_emailstring- Email address of an existing lead. Required if `leadId` is not provided.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
reply_in_last_threadboolean- When true, replies in the most recent email thread of the conversation (subject becomes Re: <thread subject>).
reply_to_message_idstring- ID of a specific message to reply to. Get it from lagrowthmachine_get_conversation_messages.
subjectstring- Email subject. Ignored when `replyInLastThread` finds a thread (the subject becomes `Re:` + the thread subject).
lagrowthmachine_send_linkedin_messageSend a LinkedIn text or voice message to a lead from a connected LinkedIn identity; the message is queued, not confirmed delivered.WriteSend LinkedIn Message
Send a LinkedIn text or voice message to a lead from a connected LinkedIn identity; the message is queued, not confirmed delivered. Returns the updated lead record. Use for one-off replies. A conversation between the lead and the identity must already exist. Use send_email_message for email. Provide leadId or linkedinUrl, and either message or audioUrl. Use list_identities and list_members for identityId and memberId.
Inputs
identity_idstringrequired- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
member_idstringrequired- ID of the workspace member performing the action. Get it from lagrowthmachine_list_members.
attachmentsarray- Public URLs of files to attach to the message.
audio_urlstring- Public URL of a hosted voice message (MP3). Required if `message` is not provided. When set, a voice message is sent.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
linkedin_urlstring- LinkedIn profile URL of an existing lead. Required if `leadId` is not provided.
messagestring- Text message to send. Required when audioUrl is not provided.
lagrowthmachine_snooze_conversationHide an inbox conversation until a given date and time.WriteSnooze Conversation
Hide an inbox conversation until a given date and time. Returns the conversation id, lead id, snoozed flag and snoozeUntil. Use to defer a conversation. An already snoozed conversation must be unsnoozed first with unsnooze_conversation. Provide conversationId, or identify the lead with leadId, email or linkedinUrl and narrow with identityId or campaign.
Inputs
snooze_untilstringrequired- ISO 8601 date, in the future, until which the conversation stays snoozed.
campaign_idstring- When the lead is identified without `conversationId`, picks the conversation with this campaign's identity.
campaign_namestring- Name of the campaign, used with a lead identifier to pick the right conversation (the campaign's identity is used).
conversation_idstring- ID of an inbox conversation. Get it from lagrowthmachine_search_conversations or lagrowthmachine_get_lead_conversations.
emailstring- Email of the lead, alternative to `conversationId`.
identity_idstring- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
linkedin_urlstring- LinkedIn profile URL of the lead (must contain `linkedin.com`), alternative to `conversationId`.
lagrowthmachine_unarchive_conversationRestore an archived inbox conversation.WriteUnarchive Conversation
Restore an archived inbox conversation. Returns the conversation id, lead id, archived flag and timestamp. Use to reverse archive_conversation. Provide conversationId, or identify the lead with leadId, email or linkedinUrl and narrow with identityId or campaign.
- Idempotent
Inputs
campaign_idstring- When the lead is identified without `conversationId`, picks the conversation with this campaign's identity.
campaign_namestring- Name of the campaign, used with a lead identifier to pick the right conversation (the campaign's identity is used).
conversation_idstring- ID of an inbox conversation. Get it from lagrowthmachine_search_conversations or lagrowthmachine_get_lead_conversations.
emailstring- Email of the lead, alternative to `conversationId`.
identity_idstring- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
linkedin_urlstring- LinkedIn profile URL of the lead (must contain `linkedin.com`), alternative to `conversationId`.
lagrowthmachine_unsnooze_conversationBring a snoozed inbox conversation back to the active inbox.WriteUnsnooze Conversation
Bring a snoozed inbox conversation back to the active inbox. Returns the conversation id, lead id, snoozed flag and timestamp. Use to reverse snooze_conversation. Provide conversationId, or identify the lead with leadId, email or linkedinUrl and narrow with identityId or campaign.
- Idempotent
Inputs
campaign_idstring- When the lead is identified without `conversationId`, picks the conversation with this campaign's identity.
campaign_namestring- Name of the campaign, used with a lead identifier to pick the right conversation (the campaign's identity is used).
conversation_idstring- ID of an inbox conversation. Get it from lagrowthmachine_search_conversations or lagrowthmachine_get_lead_conversations.
emailstring- Email of the lead, alternative to `conversationId`.
identity_idstring- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
linkedin_urlstring- LinkedIn profile URL of the lead (must contain `linkedin.com`), alternative to `conversationId`.
lagrowthmachine_update_campaignChange the settings of a campaign: name, audience, enrichment, CRM sync and reply handling.WriteUpdate Campaign
Change the settings of a campaign: name, audience, enrichment, CRM sync and reply handling. Returns the updated campaign settings and status. Use to edit configuration. Use update_campaign_status to pause or run it.
- Idempotent
Inputs
campaign_idstringrequired- ID of the campaign (24-character hex ObjectId). Get it from lagrowthmachine_list_campaigns.
audience_idstring- ID of the audience (24-character hex ObjectId). Get it from lagrowthmachine_list_audiences.
auto_reschedule_out_of_officeboolean- Whether leads who reply with an out-of-office message are rescheduled automatically.
enrichboolean- Whether the campaign enriches leads automatically.
hubspotboolean- Sync the campaign with HubSpot.
ignore_emoji_only_replyboolean- A reply made only of emojis (e.g. 👍) does not stop the sequence.
namestring- New campaign name, unique in your workspace.
pipedriveboolean- Sync the campaign with Pipedrive.
skip_already_contactedboolean- Skip leads you have already contacted in another campaign.
lagrowthmachine_update_campaign_statusPause or run a campaign.WriteUpdate Campaign Status
Pause or run a campaign. Returns the campaign id, name and new status. Use to launch, resume or pause outreach for every lead in the campaign. Use update_lead_status to act on a single lead.
- Idempotent
Inputs
campaign_idstringrequired- ID of the campaign (24-character hex ObjectId). Get it from lagrowthmachine_list_campaigns.
statusstringrequired- New campaign status: PAUSED to pause it, RUNNING to run it.one of
PAUSEDRUNNING
lagrowthmachine_update_lead_statusPause, resume, stop, convert or tag a lead inside one or more campaigns.WriteUpdate Lead Status
Pause, resume, stop, convert or tag a lead inside one or more campaigns. Returns one log entry per campaign with leadUpdated, leadStatus and reason. Use to change what happens to a lead in a campaign. Use remove_lead_from_audiences to take a lead out of an audience. At least one lead identifier is required: an email, LinkedIn URL, Twitter, CRM ID, or first name + last name + company name or URL.
Inputs
campaignstringrequired- Name or ID of a campaign, or "all" for every non-stopped campaign whose audience contains the lead.
statusstringrequired- New status value. See the allowed values listed in the description. Allowed values: RESUME, PAUSED, STOPPED, CONVERTED, SUBSCRIBED, COMPLETED_NO_REPLY, REPLIED, CANNOT_CONTACT, NOT_ACTIVATED, SKIPPED, ACTIVATED, ENRICHED, CONTACTED, COMPLETED_WITHOUT_REPLY, TO_QUALIFY, UNSUBSCRIBED, OUT_OF_OFFICE, WRONG_TIMING, INTERESTED, NOT_INTERESTED, CALL_BOOKED, NEGOTIATING, READY_TO_BUY, WRONG_TARGET, ALREADY_EQUIPPED.one of
RESUMEPAUSEDSTOPPEDCONVERTEDSUBSCRIBEDCOMPLETED_NO_REPLYREPLIEDCANNOT_CONTACTNOT_ACTIVATEDSKIPPEDACTIVATEDENRICHEDCONTACTEDCOMPLETED_WITHOUT_REPLYTO_QUALIFYUNSUBSCRIBEDOUT_OF_OFFICEWRONG_TIMINGINTERESTEDNOT_INTERESTEDCALL_BOOKEDNEGOTIATINGREADY_TO_BUYWRONG_TARGETALREADY_EQUIPPED company_namestring- Name of the lead's company.
company_urlstring- Website of the lead's company.
crm_idstring- ID of the matching contact in the CRM connected to the workspace (HubSpot or Pipedrive).
firstnamestring- First name of the lead. Matching by name needs the last name and a company name or company URL as well.
fromstring- Records who asked for the change: the lead or a member. Allowed values: lead, member.one of
leadmember lastnamestring- Last name of the lead.
lead_idstring- ID of an existing lead (24-character hex ObjectId). Get it from lagrowthmachine_search_lead or lagrowthmachine_get_audience_leads.
linkedin_urlstring- LinkedIn profile URL of the lead.
member_emailstring- Email of the member on whose behalf a SUBSCRIBED change is made. Defaults to the workspace owner.
perso_emailstring- Personal email address of the lead.
pro_emailstring- Professional (work) email address of the lead.
twitterstring- Twitter/X handle or profile URL of the lead.
lagrowthmachine_delete_identity_preferenceDelete a saved preference of a sending identity.DestructiveDelete Identity Preference
Delete a saved preference of a sending identity. Returns a success flag. Use list_identity_preferences to find the preferenceId.
- Idempotent
Inputs
identity_idstringrequired- ID of a connected sending identity (LinkedIn or email account). Get it from lagrowthmachine_list_identities.
preference_idstringrequired- ID of the identity preference. Get it from lagrowthmachine_list_identity_preferences.
No tools match.