How the AI Replying Tag Works
Whenever an AI is replying to a contact, that information can be seen in the AI portal as the AI is replying. But if you would like to trigger a workflow or have additional functionality around analysis and information pulling - the tagai_replying
is added during AI generation.
Whenever a message has come through with an active tag, just like in the portal with the general animation, the tag is added before generation, and removed on successful send to the CRM (i.e. messageId is available from the send).
Use Cases
Fallbacks
Use theai_replying
tag to trigger a workflow with a wait timeout for reply sending. This can be helpful in the event of:
- Vendor or platform timeout/server maintenance
- Decision making around replies
- Quality control and monitoring
- Backup response systems
How It Works
Tag Lifecycle
- Tag Added: When AI begins generating a response (before generation starts)
- AI Processing: Tag remains active during AI response generation
- Tag Removed: When message is successfully sent to CRM (messageId is available)
Workflow Integration
You can create workflows that trigger on theai_replying
tag to:
- Monitor AI response times
- Implement fallback mechanisms
- Track AI engagement metrics
- Handle timeout scenarios
Implementation Examples
Fallback Workflow Setup
- Trigger: Contact tagged with
ai_replying
- Wait Action: Set timeout period (e.g., 30 seconds)
- Condition: Check if tag still exists after timeout
- Fallback Action: Send backup response or alert human agent
Monitoring Workflow
- Trigger: Contact tagged with
ai_replying
- Action: Log timestamp and contact information
- Wait: For tag removal (successful send)
- Action: Calculate and log response time
Key Benefits
- ✅ Real-time monitoring of AI response generation
- ✅ Fallback mechanisms for system reliability
- ✅ Response time tracking for performance analysis
- ✅ Quality control workflows for AI interactions
- ✅ Automatic tag management without manual intervention
- ✅ CRM integration with messageId confirmation
Best Practices
Timeout Settings:- Set appropriate wait times based on expected AI response duration
- Consider network latency and processing time
- Test timeout thresholds with various query types
- Prepare backup responses for common scenarios
- Alert human agents when AI fails to respond
- Log timeout events for system monitoring
- Track AI response times for performance optimization
- Monitor tag lifecycle for system health
- Use data for improving AI efficiency
Troubleshooting
Tag not being added:- Verify Active Tags are properly configured
- Check if AI assistant is correctly linked
- Ensure contact has appropriate permissions
- Check CRM connection status
- Verify messageId is being generated
- Review AI response completion process
- Confirm workflow trigger is set to
ai_replying
tag - Check workflow activation status
- Verify contact enrollment criteria