This example goes through messaging a lead once it has been created with a certain lead source.
Navigate to Salesforce Setup
Search for ‘Flows’ in the ‘Quick Find’.
Click ‘New Flow’ and choose ‘Record-Triggered Flow’.
Configure Start
Object: Lead
Configure Trigger > Trigger the Flow When: A record is created
Set Entry Conditions: All Conditions Are Met (AND)
Field: Lead Source
Operator: Equals
Value: Trade Show
Add a new action, search for ‘Natterbox’ and select the one called ‘Send Natterbox Template Message’.
Note: you can choose ‘Send Natterbox Message’ and achieve a similar solution but the message template is then stored in the flow rather than in the Natterbox templates.Label: Send Lead Template
Object for ‘Person Record (Input): Lead
Channel Type: SMS
From Number: [this needs to be a number enabled for SMS]
Person Record: Triggering Lead
Template Name: New Lead (this needs to match the name of the template)
To Number: Triggering Lead > Phone
Placeholder Map: {"LeadFirstName": "{!$Record.FirstName}", "LeadOwnerName": "{!$Record.Owner_Name__c}"}
LeadFirstName and LeadOwnerName are the macros in the template.
{!$Record.FirstName} and {!$Record.Owner_Name__c} are lead fields.
Save and Activate!