I am building an Inbound Call Flow in Architect. I have a Custom Data Action that is returning an StringCollection array of AccountIds related to a Contact. The returned data looks like the following:
I need to use those AccountIds to then query additional data via another custom data action. In order to use the AccountIds in an "AccountId IN ('...', '...'), I am looping the data and then building a string of the ids that can be passed into the query. Ideally, the querystring variable will look like : '0015000000XXXXXXXX', '0013000000XXXXXXXX'
I was able to get this to work in the Inbound Email Flow. But when I do this in the Inbound Call Flow, the querystring does not appear to build correctly.
Am I over-complicating this? Is there a better way to do this?
Flow.AccountIdsQueryString is the variable in which i am trying to put my AccountIds. I need that variable to start out as blank, and then build on the IDs as I loop through.
I have been unable to properly declare that variable for use.