Not able to set variables in POST API, I have tried the way it is instructed in docs but its not working. It is working with hardcoded values
Could you elaborate on the configured variables and their purpose so that I can assist you better?
{
“from”: “{{{ID}}}”,
“message”: “{{{content}}}”,
“timestamp”: “{{{timeStamp}}}”
}
these are Global variables. I have tried using data.variables.variablename and variables.variablename, with two brackets and three. The above mention is how it is mentioned in the API documentation. please let me now if there is something I’m missing
@Rahul_J we tried from our end it is working.
Steps to store and view the entire API response:
- To store the entire API response, select the following option in the API node:
- Add the variable you selected in the API node to the database node to store the API response.
- Use text node:
- Go to the database to view the API response stored in the column you selected in the database node.
To fetch a specific value from the API response
If you need to extract a specific value from the API response, use the following syntax:
{{{variables.variablename.fieldname}}}
For example, to get the user’s first name from the response:
{{{variables.user360response_obj.data.firstName.value}}}
we’re trying to send the data through POST API.
@Rahul_J can u please share the API cURL that you are using.
@Rahul_J, Maybe If you can share the ‘admin’ bot access with my email (amudhan@yellow.ai), I can check the bot flow?