Actions12
Add Lead Log
AI-generatedSummary
Add a lead log entry to Leadify for campaign tracking
Inputs
- logData (required) — JSON payload describing the log entry (e.g., campaign slug, lead ID, action, level, workflow details).
- additionalFields — Optional collection of extra fields to attach to the request (e.g., timeout, metadata).
- requestOptions — Node settings that affect the HTTP request (batching, proxy, SSL options, timeout, etc.).
Output shape
a single lead log record
Returns the created log entry with generated ID and timestamps; may include additional metadata.
Examples
Example 1: Log an email send action for a lead in a nurturing workflow
logData = {"campaignSlug":"summer-2024-outreach","campaignName":"Summer 2024 Outreach","leadId":"cl1234567890","action":"email_sent","message":"Welcome email sent successfully","level":"INFO","workflowId":67890,"workflow":"Lead Nurturing Workflow","executionId":12345,"workflowUrl":"https://n8n.example.com/workflow/67890","executionUrl":"https://n8n.example.com/execution/12345","errorCode":null,"retryCount":0,"lemlistActivityId":null},
additionalFields = {"timeout":30000},
requestOptions = {"batching":{"batchSize":50,"batchInterval":1000},"timeout":10000}