Share feedback, ideas and get community help

F
M
a
g
E

HTTP request sending "dummy data"

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!!
Attachment
image.png
B
T
5 comments
I am not sure to understand. What are you expecting?
Can you clearly describe it by following this template:

  1. Steps to reproduce
  2. What's happening
  3. What were you expecting
Hi Baptiste, here is some more info on what I'm trying to achieve :

The chatbot collects and stores specific pieces of information: date, time, and email. Once all of this information is collected, the chatbot should transition to another group or process where it can check availability (using an HTTP request with API call) and potentially confirm a meeting.

I need to make sure the chatbot only proceeds to another group once all the necessary data (date, time, email) is gathered.

The chatbot should wait until all required inputs (date, time, email) are collected and validated before transitioning to the next group for availability checking and confirmation. Tried Condition blocks after the "Generate Variables " block but the Values always seem to be empty..

See attached revised flow..
Attachment
image.png
First, Ask assistant should only set Assistant last message
Then share your Generate variables config so that we can see what's wrong.
Add a reply
Sign up and join the conversation on Discord
Join