Create the program
-
In Marketing Activities, right-click Marketing Activities on the left bar, select New Campaign Folder, and name it.
-
Right-click on the created folder, select New Program, and give it a name.
Leave everything else as default, then click Create.
Set up Twilio SMS
First ensure you have an active Twilio account and purchased the SMS features you require.
Setting up the Marketo - Twilio SMS webhook requires three Twilio parameters from your account.
- Account SID
- Account Token
- Twilio Phone Number
Retrieve these parameters from your account, now open your Marketo instance.
-
Click Admin in the top right.
-
Click Webhooks, then click New Webhook.
-
Enter a Webhook Name and Description.
-
Enter the following URL and be sure to replace the
ACCOUNT_SID
andAUTH_TOKEN
with your Twilio credentials.https://[ACCOUNT_SID]:[AUTH_TOKEN]@API.TWILIO.COM/2010-04-01/ACCOUNTS/[ACCOUNT_SID]/Messages.json
-
Select POST as your Request type.
-
Enter the following Template and be sure to replace
MY_TWILIO_NUMBER
with your Twilio phone number andYOUR_MESSAGE
with a message of your choosing.From=%2B1[MY_TWILIO_NUMBER]&To=%2B1{{lead.Mobile Phone Number:default=edit me}}&Body=[YOUR_MESSAGE]
-
Set the Request Token Encoding to Form/URL.
-
Set the Response type to JSON then click Save.
Set up the Smart Campaign Trigger
-
In the Marketing Activities section, right-click on the program you created, then select New Smart Campaign.
-
Name it, then click Create.
You should see several triggers available for use under the Microsoft folder.
-
Click and drag Added to Agreement to the Smart List, then add any constraints you wish to have on the trigger.
Set up the Smart Campaign Flow
-
Click the Flow tab in the Smart Campaign.
Search for and drag the Call Webhook flow onto the canvas and select the webhook you created in the previous section.
-
Your SMS notice campaign for leads who are added to an agreement is now set up.