Share feedback, ideas and get community help

Updated 6 months ago

HTTP request sending "dummy data"

At a glance

The community member is experiencing an issue with their HTTP block in the AI Loop configuration. They are receiving a response with "dummy data" when they input "hello", and they want to know how to make the HTTP block send their own timeMin and timeMax values instead of the "dummy" time.

The community members have provided more context, explaining that the chatbot is collecting date, time, and email information, and once all the data is collected, it should transition to another process to check availability and confirm a meeting. They have tried using Condition blocks after the "Generate Variables" block, but the values seem to be empty.

The comments suggest that the community member should clearly describe the steps to reproduce the issue, what's happening, and what they were expecting. They are also advised to share their Generate variables configuration so the issue can be further investigated.

Useful resources
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