https://discord.gg/botpress logo
Cannot publish bot with HITL anymore
# 🤝help
c
report_01K0WDBXX95FV37VSVBQPQW61K Hey everyone, I have a couple of Botpress bots that include HITL. This one cannot publish anymore and gives me a message (in the image) when I hover over publish. The only difference between this bot and the others is that this one is connected to FreshChat as the company has a Freshworks account. I also noticed that the FreshChat integration has an update. I'm afraid if I update, I break it and then cannot reconnect it. As it is a well know e-commerce company, live agents is a must. Additionally the bot is the funnel for all social media communication. Any ideas? Thanks in advance. Braam https://cdn.discordapp.com/attachments/1397670230054015147/1397670230595076197/image.png?ex=68829156&is=68813fd6&hm=7aaa31984fb525bcaff21f3b3061fbcf4ff2f7906ff66f2f7e3c2f259f0317ec&
b
That means Botpress no longer allows publishing bots with HITL (Human-in-the-Loop) enabled. What to do: Remove HITL nodes (like “handoff to agent”) from the flow. Try to publish again – it should work without HITL. If you still need live chat, check if Botpress now supports a new method or integration. Ask in Botpress Discord: “Getting ‘You cannot publish bots with HITL agent anymore.’ I use FreshChat for live agents. Any workaround?”
b
for now, you can also make sure that all your plugins and integrations are updated to the most recent version - that should resolve this bug!
c
Hi Robert, Thank you for the reply here. I'll give it a try.
I have all integrations up to date but unfortunately still have the issue. I also removed the Start HITL card and added a new one. It didn't work. Any other ideas perhaps?
So I got it working if anyone else runs into this issue. - Deleted the Start HITL card (I don't have a Stop HITL card but I would remove this too) - I turned off the HITL Agent - Uninstalled the HITL Plugin - Refreshed the studio - Reinstalled the HITL Plugin (Setup with FreshChat in my case) - Added the Start HITL card and reconfigured it. I was able to publish after this
b
shoot - thanks for the thorough follow up, and glad you got it working. the team has taken a note to resolve this!
s
I also faced the same issue and was able to resolve it using the steps provided by @curved-oxygen-57114 — thanks! However, I have a follow-up question. Previously, when using the HITL Agent, I was able to retrieve the agent name using the conversation variable:
{{conversation.HitlAgent.humanAgentName}}
Now, with the HITL Plugin, this variable isn't working — it’s being treated as a plain string. How can I access conversation variables like the agent name within the plugin configuration? I’ve attached two screenshots for reference: 1. Previous setup using HITL Agent 2. Current setup with the HITL Plugin https://cdn.discordapp.com/attachments/1397670230054015147/1397977427220627466/image.png?ex=6883af6f&is=68825def&hm=da95a7c16644807041009c5482c627e9e3025b6b3b47bcdbc24821753af62c0a& https://cdn.discordapp.com/attachments/1397670230054015147/1397977427585798304/image.png?ex=6883af6f&is=68825def&hm=e4baf70d56fc1ab156ed3f5e2f785eb909554c8fdf2470af48a41e7aa17ce3a9&
2 Views