https://discord.gg/botpress logo
Best Hook for Real-Time Agent Message Synchronizat...
# 🤝help
a
### Best Hook for Real-Time Agent Message Synchronization (HITL) 🗣️ Hello Botpress Community, I need guidance on the most robust method for synchronizing messages sent by the human Agent (Operator) from the HITL Dashboard to my external application/service. My Goal: Ensure that the Agent's replies are immediately captured and forwarded via something for real-time display in the user's interface. The Question: How do i do that please ?
m
I understand you want agent replies from the HITL dashboard to appear in your app in real time. I can help by setting up a webhook listener for message.created or hitl.task.updated events, then forwarding those messages via a WebSocket or API call to your frontend. This ensures every operator reply is captured instantly and reliably. Can you share which channels your users are using so I can tailor the setup? @aloof-napkin-97210
a
hi @melodic-fountain-17333 are you helping me for free ?
i m asking stuff to the botpress AI, do i need to setup a hook + action ?
w
he's just pasting from chatgpt
a
oh okay x) what do you think about my problem ? i know the logic of what i need to setup i just dont know how to do it in botpress
w
that really depends on how the connection is done
but theorically you can just mirror the messages using the Messaging API
that is, if the HITL agent's messages pass through the messaging API, which i don't know if it does
and i can't test it myself unfortunately since i don't have access to HITL
a
maybe @loud-crowd-60573 can give us some tips ?
issue solved
2 Views