Email Piping Actions
fluent_support_pro_email_bounced
Parameters
- '$ticket' (object) The ticket whose email bounced
- '$bounce' (array) Bounce details:
recipient,action,status,diagnostic,reporting_mta,original_*(any may be missing)
Usage
add_action('fluent_support_pro/email_bounced', function ($ticket, $bounce) {
// ...do something
}, 10, 2);Reference
do_action('fluent_support_pro/email_bounced', $ticket, $bounce)
This action is located in fluent-support-pro/app/Services/Integrations/FluentEmailPiping/AutoMailHandler.php
fluent_support_pro_email_auto_reply_received
Parameters
- '$ticket' (object) The ticket the auto-reply threads to
- '$senderEmail' (string) Sender email address
Usage
add_action('fluent_support_pro/email_auto_reply_received', function ($ticket, $senderEmail) {
// ...do something
}, 10, 2);Reference
do_action('fluent_support_pro/email_auto_reply_received', $ticket, $senderEmail)
This action is located in fluent-support-pro/app/Services/Integrations/FluentEmailPiping/AutoMailHandler.php
fluent_support_pro_email_piping_dropped
Parameters
- '$kind' (string)
auto_replyorbounce - '$data' (array) Raw pipe payload
- '$senderEmail' (string) Sender email address
- '$box' (object) The
MailBoxthe email arrived at
Usage
add_action('fluent_support_pro/email_piping_dropped', function ($kind, $data, $senderEmail, $box) {
// ...do something
}, 10, 4);Reference
do_action('fluent_support_pro/email_piping_dropped', $kind, $data, $senderEmail, $box)
This action is located in fluent-support-pro/app/Services/Integrations/FluentEmailPiping/AutoMailHandler.php
fluent_support_pro_auto_reply_suppressed
Parameters
- '$customerId' (integer) Customer ID
- '$subject' (string) Ticket subject
Usage
add_action('fluent_support_pro/auto_reply_suppressed', function ($customerId, $subject) {
// ...do something
}, 10, 2);Reference
do_action('fluent_support_pro/auto_reply_suppressed', $customerId, $subject)
This action is located in fluent-support-pro/app/Services/Integrations/FluentEmailPiping/AutoReplyGuard.php
Scheduled Reply Actions
fluent_support_scheduled_reply_created
Parameters
- '$conversation' (object) The scheduled reply (Conversation model)
- '$ticket' (object) Ticket data
- '$agent' (object) The agent who scheduled it
Usage
add_action('fluent_support/scheduled_reply_created', function ($conversation, $ticket, $agent) {
// ...do something
}, 10, 3);Reference
do_action('fluent_support/scheduled_reply_created', $conversation, $ticket, $agent)
This action is located in fluent-support-pro/app/Modules/ScheduledReplies/ScheduledReplyService.php
fluent_support_scheduled_reply_updated
Parameters
- '$conversation' (object) The scheduled reply (Conversation model)
Usage
add_action('fluent_support/scheduled_reply_updated', function ($conversation) {
// ...do something
}, 10, 1);Reference
do_action('fluent_support/scheduled_reply_updated', $conversation)
This action is located in fluent-support-pro/app/Modules/ScheduledReplies/ScheduledReplyService.php
fluent_support_scheduled_reply_cancelled
Parameters
- '$conversation' (object) The cancelled reply (Conversation model)
- '$cancelledBy' (object|null) The person who cancelled it
Usage
add_action('fluent_support/scheduled_reply_cancelled', function ($conversation, $cancelledBy) {
// ...do something
}, 10, 2);Reference
do_action('fluent_support/scheduled_reply_cancelled', $conversation, $cancelledBy)
This action is located in fluent-support-pro/app/Modules/ScheduledReplies/ScheduledReplyService.php
fluent_support_scheduled_reply_paused
Parameters
- '$conversation' (object) The scheduled reply (Conversation model)
- '$reason' (string) Why it was paused:
customer_replied,ticket_closed,agent_unavailableormissed
Usage
add_action('fluent_support/scheduled_reply_paused', function ($conversation, $reason) {
// ...do something
}, 10, 2);Reference
do_action('fluent_support/scheduled_reply_paused', $conversation, $reason)
This action is located in fluent-support-pro/app/Modules/ScheduledReplies/ScheduledReplyService.php
fluent_support_scheduled_reply_sent
Parameters
- '$conversation' (object) The sent reply (Conversation model)
- '$ticket' (object) Ticket data
- '$agent' (object) The agent the reply is sent as
Usage
add_action('fluent_support/scheduled_reply_sent', function ($conversation, $ticket, $agent) {
// ...do something
}, 10, 3);Reference
do_action('fluent_support/scheduled_reply_sent', $conversation, $ticket, $agent)
This action is located in fluent-support-pro/app/Modules/ScheduledReplies/ScheduledReplyService.php
fluent_support_remote_portal_connected
Parameters
- '$siteUrl' (string) URL of the connected remote site
- '$userId' (int) ID of the current user
Usage
add_action('fluent_support/remote_portal_connected', function ($siteUrl, $userId) {
// ...do something
}, 10, 2);Reference
do_action('fluent_support/remote_portal_connected', $siteUrl, $userId)
This action is located in fluent-support-pro/app/Http/Controllers/RemotePortalController.php
fluent_support_remote_portal_disconnected
Parameters
- '$userId' (int) ID of the current user
Usage
add_action('fluent_support/remote_portal_disconnected', function ($userId) {
// ...do something
}, 10, 1);Reference
do_action('fluent_support/remote_portal_disconnected', $userId)
This action is located in fluent-support-pro/app/Http/Controllers/RemotePortalController.php, fluent-support-pro/app/Http/Controllers/RemotePortalSettingsController.php
