Daniel_Ondiviela | 2019-11-27 18:44:49 UTC | #1
I'm using a call rule set plus + data action to make a custom integration with Salesforce
I want to create a task in Salesforce every time the dialer makes and improductive call (not routed to agent).
In that screenshot can be seen only certain variables, besides contact list columns, can be mapped to data action inputs. But I need mandatorily to pass the Purecloud conversation ID as an input in the data action. This mapping doesn't allow me to do that.
So my question is if I can do it somehow in the data action itself. I have this configured right now
Can I include something in the Request Body Template to reference conversationId (important, it can't be something like ${input.xxxxxxx}, it has to take ConversationId from system variable)? Is that feasible?
Daniel_Ondiviela | 2019-11-28 08:45:12 UTC | #2
another valid alternative for me would be making a pre-call rule to store conversationId in some contact list column, so it can be available in wrap-call rule
But I'm afraid the "set value" update option only admits static strings, not variables...
Jason_Mathison | 2019-12-02 13:34:53 UTC | #3
To answer your question in your first post, data actions do not have access to the conversation ID unless it is passed in as an input.
I will ping the Dialer team to see if they have any suggestions.
Jason_Mathison | 2019-12-02 13:50:58 UTC | #4
Here is the suggestion I was given from the Dialer team:
If they had their data action call a lambda they could pass in the contact id and I think they could look up the conversation by contact Id in analytics first and then talk to SalesForce.
One other thing you could do is create an idea on https://purecloud.ideas.aha.io/ to make conversation ID an available variable.
Daniel_Ondiviela | 2019-12-02 15:26:17 UTC | #5
Thanks for your comments, Jason
system | 2020-01-02 15:26:17 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 6588