I am trying to call apex class from CTI flow and pass the chat message/content to apex class.

Please refer the documentation https://developer.salesforce.com/docs/atlas.en-us.api_cti.meta/api_cti/sforce_api_cti_runapex.htm

below is my class

global class GetChatMessageFromAdaptor {

    global static void fetchUserinput(String strUserInputMsg){

Here it is mentioned that we have to use like

name=acme&phone=(212) 555-5555

But the chat message/content is dynamic not like "acme" static value.




I am trying to access the value and assigning to strUserInputMsg parameter

CTI Flow Configuration screenshots

enter image description here enter image description here enter image description here

1 Answer 1


I got the same issue, and it take me a day to find a work around solution, with is use the "JoinString" block. join the "parameter key word" and the "$.actions.uid-11.results...." the apex block then use the result of the join.

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .