Koiti
03/31/2025, 8:36 PMVapi Support Bot
03/31/2025, 8:38 PMjson
{
"results": [
{
"toolCallId": "call_choKmdslU31UJDabum0UVYIT",
"result": [
{
"start_date": "2025-02-18",
"end_date": "2025-02-21"
}
]
}
]
}
Or sometimes like this:
json
{
"results": [
{
"toolCallId": "call_g4LBH87kQ7fmcKFbcVaKKlLV",
"result": "These are all available slots: {\"2025-02-21\":[{\"start\":\"2025-02-21T08:30:00.000Z, 2025-02-21T08:45:00.000Z\"}]}"
}
]
}
### 2. Accessing the Data in Make.com
When your webhook is triggered, Make.com receives this JSON data. According to the [information I found](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1340737584309211136), "in Make.com I can see that the webhook response had a full **result**", which means your date data is available in the scenario.
### 3. Parsing the JSON and Adding to Your Message
To add the dates to your message:
1. In your Make.com scenario, after the webhook module, add a JSON Parse module or use the built-in data mapping functions to extract the dates from the response.
2. If your dates are in the result
field, you'll need to access them using the appropriate mapping. For example, if using the first JSON structure above, you might reference something like: {{1.results[0].result[0].start_date}}
(the exact syntax depends on Make.com's current data mapping format).Vapi Support Bot
03/31/2025, 8:38 PMresult
field first.
4. In your message module that's triggered after the webhook call, use the mapped variables to create your message text. For example:
Available dates are: {{1.parsed_dates}}
According to the [information on dynamic variables](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335054553250533439), you can use variable placeholders to insert the data into your message.
If you're having trouble with the JSON format, make sure the Content-Type
header is set to application/json
as mentioned in [this source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1330221332452999321).
Would you like me to help clarify any specific part of this process?
Sources:
- [Discord thread about webhook responses](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1340737584309211136)
- [Discord thread about JSON serialization](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1330221332452999321)
- [Discord thread about dynamic variables](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335054553250533439)
- [Discord thread with webhook response examples](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333753317490294836)
- [Discord thread with date format examples](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342176467714572400)Koiti
03/31/2025, 8:43 PMKoiti
03/31/2025, 8:46 PMKyle Brunker
03/31/2025, 10:54 PMKoiti
04/01/2025, 5:27 AMKoiti
04/01/2025, 5:29 AMKoiti
04/01/2025, 5:51 AMKoiti
04/01/2025, 5:51 AMKyle Brunker
04/01/2025, 10:14 PMKoiti
04/02/2025, 5:37 AMKyle Brunker
04/06/2025, 12:37 PMBigmanAI
04/07/2025, 9:40 AMKyle Brunker
04/08/2025, 9:40 PMKyle Brunker
04/08/2025, 9:40 PM