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
AIAnalyticsCloudCommerceCRMCustomer 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
createRecord
Insert a new Lead record using the supplied field values. Returns the Id of the newly created Lead.
2
createFollowUpTask
createRecord
Create a follow-up Task whose WhoId references the newly created Lead so the activity appears on the Lead record.
3
createCampaignMember
createRecord
Associate the new Lead with a marketing Campaign by creating a CampaignMember record referencing both the Lead and the Campaign.