update_lead_in_campaign
Modify lead information in a LinkedIn campaign by updating business email addresses, custom variables, and other lead fields to maintain accurate contact data.
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" } )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | ||
| lead_id | Yes | ||
| linkedin_account_id | Yes | ||
| changed_values | Yes |