Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo twilio project #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions public/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"inArguments": [
{
"email": "{{Contact.Default.EmailAddress}}",
"to": "{{Contact.Attribute.TwilioV1.TwilioNumber}}"
"to": "{{Contact.Attribute.Contacts_with_phone.+16786733382}}"
}
],
"outArguments": [],
"url": "https://twilio-sfmc.herokuapp.com/journeybuilder/execute",
"url": "https://pushsmsdemo.herokuapp.com/journeybuilder/execute",
"verb": "POST",
"body": "",
"format": "json",
Expand All @@ -30,33 +30,33 @@
}
},
"configurationArguments": {
"applicationExtensionKey": "e962d1d4-8b07-4e76-89be-ecd1f1423b6d",
"applicationExtensionKey": "2b37fe22-3692-4eed-8373-431defacaef1",
"save": {
"url": "https://twilio-sfmc.herokuapp.com/save",
"url": "https://pushsmsdemo.herokuapp.com/journeybuilder/save",
"verb": "POST",
"body": "",
"format": "json",
"useJwt": false,
"timeout": 2000
},
"publish": {
"url": "https://twilio-sfmc.herokuapp.com/publish",
"url": "https://pushsmsdemo.herokuapp.com/journeybuilder/publish",
"verb": "POST",
"body": "",
"format": "json",
"useJwt": false,
"timeout": 2000
},
"validate": {
"url": "https://twilio-sfmc.herokuapp.com/validate",
"url": "https://pushsmsdemo.herokuapp.com/journeybuilder/validate",
"verb": "POST",
"body": "",
"format": "json",
"useJwt": false,
"timeout": 2000
},
"stop": {
"url": "https://twilio-sfmc.herokuapp.com/stop",
"url": "https://pushsmsdemo.herokuapp.com/stop",
"verb": "POST",
"body": "",
"format": "json",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</head>
<body>
<div id="step1" class="step">
<h2>Create a Twilio SMS message:</h2>
<h2>Test Demo For Push SMS Create a Twilio SMS message:</h2>
<p>Twilio's Programmable SMS has the features you’ll need to build quickly and scale to production. We’ve solved the hard problems so you don’t have to. <a href="https://www.twilio.com/sms" target="_blank">Learn more about about Twilio SMS here</a>.</p>
<hr>
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion public/js/customActivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ define([
"authToken": authToken,
"messagingService": messagingService,
"body": body,
"to": "{{Contact.Attribute.TwilioV1.TwilioNumber}}" //<----This should map to your data extension name and phone number column
"to": "{{Contact.Attribute.Contacts_with_phone.+16786733382}}" //<----This should map to your data extension name and phone number column
}];

payload['metaData'].isConfigured = true;
Expand Down