Discover how AnswerPal’s event-driven workflow automates support across all channels. This page explains the key moments (“events” or “hooks”) in the AnswerPal process—when actions are triggered, documents are attached, and automation comes to life. Master these concepts to fine-tune your customer service automation.
Events (also called “hooks”) are key moments in the lifecycle of a ticket, message, or end-user change. At each event, you can trigger actions (like reply, escalate, or delete) and attach documents (such as escalation policies or instructions). Events let you automate complex workflows and customize how AnswerPal handles every situation, from the moment a message arrives to ticket closure and beyond.
Event Name | Description |
---|---|
PreSpam | Actions triggered immediately after reading the email, before spam detection. |
PostSpam | Actions after spam detection is done. |
PostTopicDetection | Actions after topic detection is done. |
OnEscalate | When a ticket is escalated. |
PostEscalate | After all OnEscalate actions are executed. |
OnEscalateFailed | After OnEscalate actions if no agent was assigned. |
OnClose | When a ticket is closed. |
OnEndUserUpdate | When end-user data is updated. |
OnEndUserAdd | When a new end user is added. |
OnEndUserDelete | When an end user is deleted. |
OnPhonePickup | When a phone call is picked up. |
Each event can have both actions and documents attached.
This lets you fine-tune your workflow. For example:
Triggered immediately after reading the email, before spam detection. Use this event to handle automated notifications (for example, WordPress update alerts) before they reach spam and topic detection—saving resources and avoiding unnecessary processing. Example actions: auto-delete, auto-label.
Triggered after spam detection. Use this event to handle messages identified as spam. Common actions: delete (after cleanup), close ticket, or attach documentation about handling borderline spam cases.
Triggered after topic detection is complete. This is where most automation happens: trigger actions like Reply, Forward, API Call, or attach documents relevant to the detected topic. Example: fetch order details from ERP and draft a reply.
Triggered when a ticket is escalated from AI to a human agent. Attach escalation policies, notify supervisors, or prepare the ticket for handover. Example: send all conversation context and documents to the assigned agent.
Triggered after all OnEscalate actions are executed. Use this event to perform follow-up actions—such as logging escalation, sending confirmation emails, or updating external systems.
Triggered if escalation fails (for example, if no agent is available). Use this event to send fallback instructions, notify admins, or reassign the ticket.
Triggered when a ticket is closed. Automate post-closure actions: send survey emails, sync closure in external systems, or generate reports.
Triggered when end-user data is updated. Sync changes with external systems (CRM, ERP), update tickets, or trigger data retrieval as needed.
Triggered when a new end user is added. Use this to initialize user data, send welcome messages, or trigger onboarding workflows.
Triggered when an end user is deleted. Clean up related tickets, remove user data from external systems, or trigger compliance actions.
Triggered when a phone call is picked up. Provide dynamic instructions to the agent, greet the caller, or retrieve relevant user data for real-time support.
Automatically delete update notifications from website plugins before spam detection.
Close and archive messages flagged as spam.
After detecting “Order Status” topic, trigger an API call to ERP and draft a reply.
Attach escalation policy document and notify supervisor.
Display caller’s account info and greet with personalized message.
AnswerPal: AI-powered customer service solutions to elevate your support and communication effortlessly.
For all support, sales, and partnership inquiries, email us at info@answerpal.eu