update_lead_in_campaign
Modify lead information in a Multilead campaign by updating built-in fields like businessEmail or custom variables for targeted LinkedIn accounts.
Instructions
Update one or more variables for a lead in a specified campaign and LinkedIn account
This updates lead fields including built-in fields (businessEmail, etc.) and custom variables.
Args: campaign_id: The ID of the campaign lead_id: The ID of the lead to update linkedin_account_id: The LinkedIn account ID changed_values: Dictionary of field names and new values to update Can include built-in fields like "businessEmail" or custom fields
Returns: Updated lead information
Example: update_lead_in_campaign( campaign_id="12345", lead_id="67890", linkedin_account_id="2", changed_values={ "businessEmail": "john.smith@company.com", "custom-variable": "custom value" } )
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>",
"lead_id": "<lead_id>",
"linkedin_account_id": "<linkedin_account_id>",
"changed_values": "<changed_values>"
},
"name": "update_lead_in_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | ||
| lead_id | Yes | ||
| linkedin_account_id | Yes | ||
| changed_values | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||