Salesforce · Arazzo Workflow
Salesforce Create Lead and Follow-up Records
Version 1.0.0
Create a Lead, then create the related Task and Campaign Member records that move it through the sales process.
View Spec
View on GitHub
Fortune 500Artificial IntelligenceAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSalesArazzoWorkflows
Provider
Workflows
create-lead-and-relate
Create a Lead and attach a follow-up Task and CampaignMember to it.
Inserts a Lead record, then creates a Task whose WhoId references the new Lead and a CampaignMember that associates the Lead with a campaign. The underlying REST description has no Lead convert operation, so this models the early sales-process steps that normally precede or accompany conversion.
1
createLead
Insert a new Lead record using the supplied field values. Returns the Id of the newly created Lead.
2
createFollowUpTask
Create a follow-up Task whose WhoId references the newly created Lead so the activity appears on the Lead record.
3
createCampaignMember
Associate the new Lead with a marketing Campaign by creating a CampaignMember record referencing both the Lead and the Campaign.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.