How do I make this tool only be called once every hour?
Sorry, I think I expressed myself incorrectly. I want the “Output TOOL” to have a one-hour cooldown.
The “Output TOOL” is activated whenever a customer wants to speak to an agent, but it activates when the customer types “agent” and anything after that, so I want it to have a cooldown between activations.
I dont think that is possible as the ai agent will call the tool as and when needed, not on a schedule. What is your exact use case so we can maybe recommend a better solution.
Can you also maybe explain what exactly the tool does? It looks like you’re calling another workflow. So if I assume the tool call’s workflow is to action something based on a scheduled time or cooldown period, then I would make that tool call workflow write an entry into a database of some action to complete. Then have another workflow which runs on a schedule to pick up incomplete action items from the database and then process them when the timestamp matches.
My AI agent chats with the company’s customers. When a customer wants to schedule an appointment, the tool triggers another workflow that sends the customer’s contact information to a human agent.
The error occurs when the customer has just stated they want to speak to a representative. After that, all messages sent by the customer trigger the tool, causing the human agent to be flooded with the same notifications from the same customer.
I’m looking for a way to prevent the human agent from being flooded with the same messages. The only solution I can think of is to somehow create a cooldown so the message is sent again to the human agent. But if anyone has another idea, I’d love to hear it.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

