Webhook response is not read
# support
e
Hey guys the assistant doesnt read the message that it is sent through the webhook response 2 hour ago it worked and right now it just gives random times and availability https://cdn.discordapp.com/attachments/1261127878288871455/1261127878469353604/image.png?ex=6691d45c&is=669082dc&hm=502790f160b81e38e2c11a9df2aeca14b36bd84a6d3f26f7eca6268b33bccd67&
v
message has been deleted
You can continue this conversation by mentioning me in the message.
@Endrit | 100kaiagency.com I'm sorry to hear that you're experiencing issues with the assistant's response to webhook messages. It sounds like there might be a problem with the assistant's configuration or a temporary glitch affecting its performance. To assist you better, could you please provide me with more details about the messages you're sending and the responses you're receiving? This will help me understand the issue and guide you towards a resolution.
e
Hey I have made an automation to send the timezone of the customer and the made a module in make with parse JSON and on the JSON I only put a text but the assistant tell that there are no slots available at that time. it says the slots available are 1 pm 2pm ecc . Techically it should say the message that I put in the screenshot Before when I was making a test it said the times perfectly but now it only says random times These is the incoming webhook , so far everything is good https://cdn.discordapp.com/attachments/1261127878288871455/1261129324925423656/image.png?ex=6691d5b5&is=66908435&hm=fbf3c89b89cbef33fa70bc996ad5192117a72346a8c131a154c033e95cef21c0&
v
@Endrit | 100kaiagency.com It seems like there might be an issue with the way the webhook data is being processed or interpreted by the assistant. To help you resolve this, I would need to check the exact payload being sent to the webhook and the logic that the assistant uses to generate the response. Could you please provide the JSON payload that you're sending to the webhook? Additionally, if you could share the logic or the part of the code that the assistant uses to determine the available slots based on the incoming data, that would be very helpful. Once I have this information, I can give you more specific advice on how to fix the issue. If you're not comfortable sharing this information here, please ensure that the JSON structure matches what the assistant expects and that the assistant's logic for parsing times and time zones is functioning correctly. If the problem persists, please ask support for more info on this.
e
please check this:https://www.loom.com/share/b2840c3dc784493489f9f136bb75520f?sid=9dec464d-146f-4488-ae9c-699191b44fdd
v
@Endrit | 100kaiagency.com I'm glad to assist, but as an AI, I'm unable to directly view external content such as videos from Loom. However, I can certainly help you troubleshoot the issue based on the information you provide. To proceed, could you please summarize the key points from the Loom video? Specifically, I would need to know: 1. The JSON payload structure you are sending to the webhook. 2. The expected behavior of the assistant in response to the payload. 3. The actual response you are getting from the assistant. With these details, I can offer guidance on what might be going wrong and how to correct it. If the issue is complex and requires a deeper investigation, it may be best to reach out to the support team with all the relevant details, including the Loom video link, for further assistance.
e
this is the payload Body { "results": [ { "toolCallId": "call_MEl0UX1gu4vMS1a97RsrGzPi", "result": "2024-07-17T00:00:00-07:00, 2024-07-17T01:00:00-07:00, 2024-07-17T02:00:00-07:00, 2024-07-17T03:00:00-07:00, 2024-07-17T04:00:00-07:00, 2024-07-17T05:00:00-07:00, 2024-07-17T06:00:00-07:00, 2024-07-17T07:00:00-07:00, 2024-07-17T23:00:00-07:00" } ] } Status 200
Before the AI was telling the time as it was perfectly like 1 am 2 am 3 am but right now gives generic answer even when the payload is { "results": [ { "toolCallId": "call_vguzifZjltC0GxG28uA02lPO", "result": "Great I found free timeslot for that time!" } ] } It doesn't say the phrase but tell random times
s
share the call ids
e
call_wSSM0qrxRdG32DrlyBBeJccs It says the time in 1 pm when it should say 1 am
call_1ScsbvFs2iaMYZP1DrUX0Irq call_BnjycN39XAI6MtxZEBmlR55g { "results": [ { "toolCallId": "call_BnjycN39XAI6MtxZEBmlR55g", "result": "2024-07-15T00:00:00-07:00, 2024-07-15T01:00:00-07:00, 2024-07-15T02:00:00-07:00, 2024-07-15T03:00:00-07:00, 2024-07-15T04:00:00-07:00, 2024-07-15T05:00:00-07:00, 2024-07-15T06:00:00-07:00, 2024-07-15T07:00:00-07:00, 2024-07-15T23:00:00-07:00" } ] }
q
I have a similar issue.... make returns valid data but it is as if nothing was returned... assistant carries as if the data was not returned. By the way... when it works correctly how can I see what was returned? Does it appear somewhere in Call logs? (I can see the tool was called but cannot see where I can see the data that Make returned. CAll ID: b03b87b6-75e4-4d4d-996c-a5c9c40dbbb4
e
also on this call_nDw96Tpczo8jnwYYqMHh8i6w it doesn't read any slots
s
these are tool call ids, not the call id.
dashboard > left nav bar > call logs > call > on right you will see call id
In your tool call id your returning call id not the tool call id. actual:
Copy code
json
šŸ”µ 03:05:03:290 Server Message Successful. (https://hook.us1.make.com/g1gbckb1iu1m2vxk7qwm7tgho5w8ktmq). Response: {
    "results": [
        {
            "toolCallId": "dbfdbad8-8478-494e-aa58-3555beaed135",
            "result": "{"slots":{"2024-07-17":[{"time":"2024-07-17T15:00:00+12:00"}],"2024-07-18":[{"time":"2024-07-18T13:00:00+12:00"},{"time":"2024-07-18T14:30:00+12:00"}],"2024-07-19":[{"time":"2024-07-19T13:30:00+12:00"},{"time":"2024-07-19T15:00:00+12:00"}]}}"
        }
    ]
}
expected:
Copy code
json
"toolCallId":"call_MurvuWGEeegt6RsMQTXzlscK"
e
sure c985a377-e77a-4ac3-8a65-9a2c02f83c48 63ef3da8-ddd1-4e6c-aebe-daae1a298f52
@Shubham Bajaj I gave the bot the instructions to read the data as 1 am when it is returned 01:00 it was working but then it had the same issue as
Quintus
s
Requests to your server url are falling please check if it's correct in the assistant.
But he is sending wrong response.
e
What should I check in the assistant?
Do you have any suggestion how to check the assistant and improve it ?
s
The serve url you have given for assistants might be incorrect double check it and run tests again.
no response closing the ticket.
22 Views