Passing email contact information from a bot to a messenger flow

We are having an issue with a conversion that we are doing going from Chat to Messenger. We are using messenger with a Bot to gather information on the first, last, and email address of the customer and then passing that information along to the flow so that the email address can be used to send out a survey. What I am doing is in the bot flow the bot is collecting the first, last name and email address and I am using a update data and variables are Flow.FirstName, Flow.LastName, and Flow.EmailAddress and they are assigned the values of Slot.FirstName, Slot.LastName, and Slot.Email Address. and then the bot flow exits.

From there it enters into the inbound message flow and there is a get participant data which then grabs the attributes names of Context.FirstName, Context.LastName, and Context.EmailAddress and assigns the variables of Flow.FirstName, Flow.LastName, and Flow.EmailAddress. It will then do a search of external contacts, and it will then reach a decision point and if !IsNotSetOrEmpty(Flow.ExistingExternalContact) it will go down the no path and create a external contact. The email information is not getting passed along to the survey module flow and fails at our data table check to see if the email is valid to send out, or if the customer opted out from emails. It fails with a null value. Any suggestions on what to check would be greatly appreciated.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.