I am trying to integrate my VoiceFlow Bot into FlutterFlow. In FlutterFlow backend the API call is working properly.
On the front end, when I initiate the chat and enter a query, the bot returns with "NULL".
I believe I have the following issues:
Improper Launch request to initiate the chat upon page load
Possible error in JSON custom code return
return json.decode('{"payLoad": "userID", "content": "$prompt"}');
- Possible error in JSON paths
$[:].payload.message$[:].payload.slate.id$[:].type
Any help would be much appreciated!
I have tried the above code to rectify.