Hello! I want to create a feature in a messaging application I've made. I want to be able to sent text messages in bulk to people's phones. Is anyone familiar with how to do this? If so, what steps did you take? Thank you
Discussion posts and replies are publicly visible
Check out the new Twilio component: https://docs.appian.com/suite/help/19.2/icc/twilio_component.html
Hi, Lucas. When I add twilioField() to my interface, I get this error: Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function 'twilioField': The function 'twiliofield' is unavailable. Why can't I use the function? It was already added as a plug-in. Thanks.
I think you have to purchase ICC to use the OOTB twilioField. You could definitely set up your own Twilio account and integration though.
Okay. Is there a way to use twilio with appian without having to purchase ICC?
Independent from Appian's Twilio component, you can simply use an Appian Integration Object to hit Twilio REST APIs (note: to do this, you will need a separate license agreement with Twilio):
https://www.twilio.com/docs/usage/api
https://www.twilio.com/docs/sms/api
Example Details:
URL: https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages.json
Method: POST
Request Body Content Type: Custom - application/x-www-form-urlencoded
Request Body: "From=+15555559999&To=+15555555555&Body=Hello World"
Hmm, I don't know. But I found the Twilio Utilities app and added that. In my process model, I found the Send Twilio SMS node, which seems to be right. I added my Twilio trial account's SID, Auth Token, and the other inputs.
I get the below error when I debug. As you can see, there is a value in the Auth Token field. Any ideas?
"AuthToken 'null' is not valid."
You can use below plugin
https://community.appian.com/b/appmarket/posts/twilio-utilities
The plugin is asking for the scs (secure credential store) key, not the actual token.
Personally, I prefer using out of the box functionality over a plugin in this case. It is supported by Appian Support, easier to debug, and provides more control over the connection details.
Is the OOBF is the one that requires ICC? Thanks for your help, by the way
No this is independent from ICC. You can simply use a connected system and/or integration object to make a RESTful webservice call to Twilio's REST APIs.