amazon-connect/amazon-connect-salesforce-cti

How to dereference variables in CTI Flow

Closed this issue · 1 comments

I have a number of CTI Blocks in my flow that I would like to collect information and pass to the runApex OpenCTI method as parameters.

Per the documentation multiple parameters can be passed as strings:

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

So if I have a value:

$.actions.uid-12.results.value how can I dereference the value as a parameter?

You can use the String Template block to construct the query string and reference that in runApex.