Confusion Regarding Notify Module (Twilio)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi All,
We are trying to implement Notify with Twilio, as part of this we have installed both Notify and Twilio direct driver plugins.
Now I am trying to call a number and relay a message. I have explored multiple things but unable to combine them -
1. I have explored flow designer and found the 'Say' action. but it has a mandatory value 'Notify Call', How to combine that with a call. Like I want to call a user and then invoke Say as part of the same flow execution.
2. I have also explored script based approach and found 3 functions -
Notify - call(String notifyPhoneNumber, String toPhoneNumber, GlideRecord conferenceCall, GlideRecord conferenceCallRecord, String userSysId, String groupSysId, GlideRecord sourceRecord)
Notify - modifyCall(GlideRecord callRecord, NotifyAction notifyAction)
NotifyAction - addSay()
But not sure how to combine the three again.
Any help with this will be much appreciated.
Regards,
Debjit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Everything revolves around the Notify Call record. The Say action needs that call record, that is why it asks for it.
In Flow Designer, you need a step that creates the Notify Call, and then in the next step use the Say action and pass that same call record. That way, the message is played on that call.
Same idea with script, Call method creates the call and gives you a call record, then you create a NotifyAction and use addSay and then use modifyCall to attach that action to the call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
17 hours ago
Hi @Vaibhav Chouhan ,
Thank you for your response.
But how, I have tried creating a call first then tried to modify via modifycall using notifyaction.addSay but it is firing a call with no message, as call is a async method, so call is getting triggered even before the modifycall can be called.
For Flow, the 'Say' action requires input 'Notify Call', but none of the output of the 'Call' action (status and message) we can enter there, so how can I initiate a call and then invoke the Say action to fire the message.
Regards,
Debjit
