Hello, I recently built a simple Instagram DM reply workflow using AI in n8n. It works, but I’m stuck trying to add a couple of important functions:
- Message limit → Maximum 10 AI replies per user within 24 hours. After that, the bot should stop replying until the window resets.
- Human handover → If a human agent replies in the chat, the AI should stop sending messages and let the agent take over.
- Training data (JSON file) → I’d like to include my past customer conversations in a JSON file so the AI can “learn” from my historical replies and respond more consistently.
I tried to add these myself but haven’t been successful. Could anyone please guide me (or share an example workflow) on how to implement these two features?
Thanks in advance 🙏