Share feedback, ideas and get community help

T
Tchams
Offline, last seen 2 months ago
Joined September 13, 2024
Hello! So when setting up my HTTP block in the AI Loop configuration, why is HTTP request sending "dummy data"?
After my first in input (responding to hello block) here is the response I get from HTTP block :


{
"statusCode": 200,
"response": {
"kind": "calendar#freeBusy",
"timeMin": "2023-10-15T14:00:00.000Z",
"timeMax": "2023-10-15T15:00:00.000Z",
"calendars": {
"primary": {
"busy": []
}
}
},
"request": {
"url": "https://www.googleapis.com/calendar/v3/freeBusy",
"method": "POST",
"headers": {
"Authorization": "Bearer ya29XXXXXXX",
"Content-Type": "application/json"
},
"timeout": 10000,
"json": {
"timeMin": "2023-10-15T14:00:00.000Z",
"timeMax": "2023-10-15T15:00:00.000Z",
"items": [
{
"id": "primary"
}
]
}
}
}

I have just entered "hello", why do I get this response and how do I only make the HTTP block send MY timeMin and timeMax values and not the "dummy" time? Thank you!!
5 comments
B
T
So I've been extensively looking at documentation but I cant seem to solve this issue : how can I configurate my typebot AI Loop block to check google calendar for availability and the proceeds to booking the event in google calendar if requested timeslot is available?

So my current Typebot setup (see screenshot - typebot setup) collects the the users input (date, time, email) and stores them as variables and then sends this data through HTTP request via webhook to zappier. Time and date is sent to Zapier and runs through Zapier flow (see screenshot - Zapier Flow setup). The Zapier flows does the job by checking time availabilty in google calendar. If timeslot is available, it then proceeds to booking the meeting using the variables.

BUT,
  1. How do I let the Open Ai Assistant block know that the meeting is now booked, and thus allowing it to inform user that meeting is confirmed back in the chat?
  2. How do I let the Open Ai Assistant block know that the requested time slot by user is not available, prompting the user to provide alternative date and time? The Ai Assistant will reloop until time slot is avalaible and proceed to the booking of the meeting?
The current setup in Zappier works, but cant make it communicate to the Open Ai Assistant block in Typebot.

Thank you!!
6 comments
T
B
W