ill-bronzeI
VAPI7mo ago
ill-bronze

how can I pass variableValues to my tools in workflows?

how is it variableValuesas well as extracted variables to my tools calls in workflows ? i mean these https://docs.vapi.ai/api-reference/calls/create#request.body.workflowOverrides.variableValues
I have to send a nested json in my api request and I would like to set my payload to be something like
POST to https://my.api.com/cases/{{variableValuesPassedToWorkflowWhichIsCaseId}}/create
```payload = {
"case_info": {
"case_id": "{{variableValuesPassedToWorkflowWhichIsCaseId}}" ,
"other_id": "{{variableValuesPassedToWorkflowWhichIsOtherId}}" ,
"extracted_id": "{{extractedId}}" ,

}
}
Was this page helpful?