Error message
# 🤝help
w
w
But it doesnt make sense. I'm using webhook trigger to start the conversation, and putting the conversationId inside of it so it knows which conversation to send the trigger to. Then I have a message card that sends back this message. It's the same conversation ID. How is it not finding it?
f
Have you tried to console.log it first? To make sure that there is a conversation ID there?
f
Maybe a @User knows
w
This happened a few times to me and I never found the exact solution Does the webhook trigger the information well ?
Now I just changed the message for an raw input field
For what Ive seen, It's not possible to send a message back. If you receive a payload from a webhook integration, the only way to send information back to it is doing a post request. Normal messages will get this error
sorry, what do you mean?
w
when you click on discover events, do you see the payload ?
w
I see the events normally
The trigger works normally the problem is when I use the card sending a message back
Now, i just tried using the card "Waiting for user input"
and got this
w
hum okay
try to unistall the integration and install it again ?
w
how are you activting the trigger? Can I see the code? And if you try using an "Raw input card" does it work?
w
what do you mean by initiating the conv ?
w
I mean activating the trigger
w
there is no code, just json sent from make, then i use the webhook trigger, i set the convId sent inmy webhook payload and i display the message
hum yes that's the goal
w
Oh ok
w
that's why you'ra globally trying to do right ?
to be sure i'm not wide of the mark 😅
w
What I'm doing is I'm using the standard webchat app to create a conversation and a user in the backend code of an application. I send it my own conversationId and userId and a payload. My intention was to take the query inside the payload and consult on the KB. But the chatbot wont allow querys in kb if user didn't send any messages. So after doing all that I have to use the question card to send back the "question", just so that my backend can send the query so I can search the KB
Btw, i found a way around it. I just use the messaging API. Send the payload containing the query and which workflow it should enter.
it enters the workflow directly from the start and returns the answer to the API
w
actually you can search in the KB just after a webhook, but you need to set up the event.preview as webhookTrigger in a code card
okay 👍