sty_stoned
09/23/2025, 5:15 AMAI Evy
09/23/2025, 5:15 AMAI Evy
09/23/2025, 5:16 AMjson
{
"type": "object",
"properties": {
"offen": {
"type": "string"
}
},
"required": ["offen"]
}
2. Set the HTTP method to POST or GET depending on your workflow:
- **POST**: Use this if you want to send a JSON body (recommended for structured data like your example) .
- **GET**: Use this if you want to send data as query parameters.
For your use case (structured variable delivery) , POST is the better choice, as it allows you to send the payload as JSON and match the schema exactly [(1) ]() .
Make sure your n8n webhook returns the response in the expected format:
json
{
"offen": "false"
}
This will allow the Retell Function node to map the "offen" variable correctly .AI Evy
09/23/2025, 5:16 AMAI Evy
09/23/2025, 5:16 AMsty_stoned
09/23/2025, 5:50 AMAI Evy
09/23/2025, 5:50 AMAI Evy
09/23/2025, 5:51 AMjson
{
"type": "object",
"properties": {
"offen": {
"type": "string"
}
},
"required": ["offen"]
}
- Your n8n webhook response must be a JSON object, not an array. It should look like:
json
{
"offen": "false"
}
- Use POST as the HTTP method so that the payload is sent in the request body and matches the schema above.
- Make sure that the webhook endpoint in n8n receives and returns the variable in the correct format, not as an array or nested object.
If these are all set and it still fails, verify the webhook endpoint is reachable and returns the JSON with exactly the structure Retell expects (no extra nesting or array brackets) and that the parameter name matches exactly (case-sensitive) .
Official instructions:
- [Custom Function docs]() [(3) ]()AI Evy
09/23/2025, 5:51 AMAI Evy
09/23/2025, 5:51 AM