We are using web survey provided by Genesys cloud.
My client want to capture yes or no if a customer is willing to participate in survey and want to send survey form based on it.
In survey flow I dont see a way to capture attached data from inbound call.
You could invoke a Genesys Cloud Data Action from the Architect Survey Invite flow.
The id of the conversation (chat, call, email, ... that triggered the Survey Invite flow) is available as an Architect built-in variable: Survey.ConversationID
You can create a Genesys Cloud Data Action that requests the conversation context based on the input parameter (GET /api/v2/conversations/{conversationId}), and that looks for a specific participant data keyname and extracts its value.