Skip to content
Recued
Menu
← Back to recipes

Intercom conversation reply closure watcher

by recued-core v1

Scheduled adopter for Intercom conversation reply closure rows seeded by reply-intercom-conversation-with-closure-watch. It lists only Recued-originated public-reply watches, re-reads a bounded batch of Intercom conversation, and closes or flags the shared row when Intercom reports configured closure state or customer-waiting owner-review state after the Recued reply. It can notify the owner on closure or owner-actionable customer-return states, but it never replies, adds notes, closes, reopens, snoozes, assigns, tags, mutates contacts or companies, creates or updates tickets, configures Intercom Workflows or Rules, creates webhooks, deletes records, bulk mutates, or calls arbitrary Intercom endpoints.

Complete workflow

Workflow pack for Recued-sent Intercom customer replies. It composes the Intercom capability pack with a closure ledger: send one public admin comment through the existing Intercom approval gate, persist only the connection/conversation reply-watch linkage in data.shared, and let a scheduled watcher re-read that exact conversation until Intercom reports a configured closure state or a customer-waiting owner-review signal after the Recued reply. This pack does not replace Intercom Workflows, Rules, snooze/reopen/close automation, assignment/routing, SLAs, native notifications, webhooks, or teammate workflows; it adds Recued-visible closure state for conversations Recued replied to.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Intercom conversation reply closure watcher
This recipe Background automation

Scheduled adopter for Intercom conversation reply closure rows seeded by reply-intercom-conversation-with-closure-watch. It lists only Recued-originated public-reply watches, re-reads a bounded batch of Intercom conversation, and closes or flags the shared row when Intercom reports configured closure state or customer-waiting owner-review state after the Recued reply. It can notify the owner on closure or owner-actionable customer-return states, but it never replies, adds notes, closes, reopens, snoozes, assigns, tags, mutates contacts or companies, creates or updates tickets, configures Intercom Workflows or Rules, creates webhooks, deletes records, bulk mutates, or calls arbitrary Intercom endpoints.

intercomsupportconversationreply
by recued-core pinned v1

Workflow origin for the Intercom conversation reply closure loop. It reads one conversation, sends exactly one owner-provided customer-visible admin comment through recued-core.intercom.conversation.reply, and when the approved reply succeeds it seeds durable data.shared closure state for intercom-conversation-reply-closure-watcher. It uses user-configured deterministic copy rather than AI and does not add internal notes, close, reopen, snooze, assign, tag, mutate contacts or companies, create or update tickets, configure Intercom Workflows or Rules, create webhooks, delete records, bulk mutate, or call arbitrary Intercom endpoints.

intercomsupportconversationreply
by recued-core pinned v1

Low-frequency timeout role for recued-core/intercom-conversation-reply-closure. It moves a bounded batch of expired rows from active to timed_out, deletes the active copy only after the durable timeout write succeeds, and notifies the owner once per batch.

intercomwatchertimeoutowner-review
by recued-core pinned v1

Owner-visible list/close role for recued-core/intercom-conversation-reply-closure. It lists bounded active, timed-out, and closed rows. Supplying a timed-out or closed key deletes only that exact terminal row; active watches cannot be deleted here.

intercomwatcherreviewclose
by recued-core pinned v1
View pack details, dependencies, and permissions →
How it works 150 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Data fetch
shared_conversation_watches ?
Process (149 steps)
now date_add
Add 0 days to
watch_rows filter
Filter by condition
watch_rows_for_connection filter
Filter by condition
watch_rows_with_conversation filter
Filter by condition
never_checked_watch_rows filter
Filter by condition
checked_watch_rows filter
Filter by condition
checked_watch_rows_oldest_first sort
Sort by value.last_checked_at
fair_watch_rows flatten
Flatten nested lists in
candidate_rows slice
Take a subset of
batch_count count
Count items in candidate rows
candidate_count count
Count items in watch rows with conversation
has_candidate compare
Check if candidate rows has data
has_connection compare
Check if setting intercom has data
skip_conversation_read any
Check if any of the conditions are true
batch_context_envelopes merge
Combine objects together
batch_contexts map
Extract from each item
conversation ?
skip: step.skip_conversation_read equal true
conversation_live_batch_context pick
Keep only specific fields from
conversation_batch_context_envelopes merge
Combine objects together
conversation_batch_contexts map
Extract from each item
live_state default
Apply default
live_state_live_batch_context pick
Keep only specific fields from
live_state_batch_context_envelopes merge
Combine objects together
live_state_batch_contexts map
Extract from each item
live_state_text lowercase
Convert item live state to lowercase
live_state_text_live_batch_context pick
Keep only specific fields from
live_state_text_batch_context_envelopes merge
Combine objects together
live_state_text_batch_contexts map
Extract from each item
live_open default
Apply default
live_open_live_batch_context pick
Keep only specific fields from
live_open_batch_context_envelopes merge
Combine objects together
live_open_batch_contexts map
Extract from each item
live_waiting_since default
Apply default
live_waiting_since_live_batch_context pick
Keep only specific fields from
live_waiting_since_batch_context_envelopes merge
Combine objects together
live_waiting_since_batch_contexts map
Extract from each item
waiting_since_changed compare
Check if item live waiting since does not equal item watch value replied waiting since
waiting_since_changed_live_batch_context pick
Keep only specific fields from
waiting_since_changed_batch_context_envelopes merge
Combine objects together
waiting_since_changed_batch_contexts map
Extract from each item
has_live_waiting_since compare
Check if item live waiting since has data
has_live_waiting_since_live_batch_context pick
Keep only specific fields from
has_live_waiting_since_batch_context_envelopes merge
Combine objects together
has_live_waiting_since_batch_contexts map
Extract from each item
closure_state compare
Check if item live state text is one of setting closure states
closure_state_live_batch_context pick
Keep only specific fields from
closure_state_batch_context_envelopes merge
Combine objects together
closure_state_batch_contexts map
Extract from each item
closed_by_open_flag compare
Check if item live open equals false
closed_by_open_flag_live_batch_context pick
Keep only specific fields from
closed_by_open_flag_batch_context_envelopes merge
Combine objects together
closed_by_open_flag_batch_contexts map
Extract from each item
closure_signal any
Check if any of the conditions are true
closure_signal_live_batch_context pick
Keep only specific fields from
closure_signal_batch_context_envelopes merge
Combine objects together
closure_signal_batch_contexts map
Extract from each item
owner_review_state compare
Check if item live state text is one of setting owner review states
owner_review_state_live_batch_context pick
Keep only specific fields from
owner_review_state_batch_context_envelopes merge
Combine objects together
owner_review_state_batch_contexts map
Extract from each item
needs_owner_review all
Check if all conditions are true
needs_owner_review_live_batch_context pick
Keep only specific fields from
needs_owner_review_batch_context_envelopes merge
Combine objects together
needs_owner_review_batch_contexts map
Extract from each item
still_waiting_state compare
Check if item live state text is one of setting waiting states
still_waiting_state_live_batch_context pick
Keep only specific fields from
still_waiting_state_batch_context_envelopes merge
Combine objects together
still_waiting_state_batch_contexts map
Extract from each item
actionable_status any
Check if any of the conditions are true
actionable_status_live_batch_context pick
Keep only specific fields from
actionable_status_batch_context_envelopes merge
Combine objects together
actionable_status_batch_contexts map
Extract from each item
closed_status ternary
Apply ternary
closed_status_live_batch_context pick
Keep only specific fields from
closed_status_batch_context_envelopes merge
Combine objects together
closed_status_batch_contexts map
Extract from each item
owner_review_owner_action_text trim
Trim whitespace from setting owner review owner action
owner_review_owner_action_text_live_batch_context pick
Keep only specific fields from
owner_review_owner_action_text_batch_context_envelopes merge
Combine objects together
owner_review_owner_action_text_batch_contexts map
Extract from each item
closed_owner_action_text trim
Trim whitespace from setting closed owner action
closed_owner_action_text_live_batch_context pick
Keep only specific fields from
closed_owner_action_text_batch_context_envelopes merge
Combine objects together
closed_owner_action_text_batch_contexts map
Extract from each item
owner_action ternary
Apply ternary
owner_action_live_batch_context pick
Keep only specific fields from
owner_action_batch_context_envelopes merge
Combine objects together
owner_action_batch_contexts map
Extract from each item
skip_close any
Check if any of the conditions are true
skip_close_live_batch_context pick
Keep only specific fields from
skip_close_batch_context_envelopes merge
Combine objects together
skip_close_batch_contexts map
Extract from each item
closed_watch_key replace
Replace text in item watch key
closed_watch_key_live_batch_context pick
Keep only specific fields from
closed_watch_key_batch_context_envelopes merge
Combine objects together
closed_watch_key_batch_contexts map
Extract from each item
close_watch ?
skip: item.skip_close equal true
close_watch_live_batch_context pick
Keep only specific fields from
close_watch_batch_context_envelopes merge
Combine objects together
close_watch_batch_contexts map
Extract from each item
delete_closed_active_watch ?
skip: item.close_watch.ok not_equal true
delete_closed_active_watch_live_batch_context pick
Keep only specific fields from
delete_closed_active_watch_batch_context_envelopes merge
Combine objects together
delete_closed_active_watch_batch_contexts map
Extract from each item
notify_closed_enabled compare
Check if setting notify when closed equals true
notify_closed_enabled_live_batch_context pick
Keep only specific fields from
notify_closed_enabled_batch_context_envelopes merge
Combine objects together
notify_closed_enabled_batch_contexts map
Extract from each item
notify_review_enabled compare
Check if setting notify when owner review equals true
notify_review_enabled_live_batch_context pick
Keep only specific fields from
notify_review_enabled_batch_context_envelopes merge
Combine objects together
notify_review_enabled_batch_contexts map
Extract from each item
notify_enabled ternary
Apply ternary
notify_enabled_live_batch_context pick
Keep only specific fields from
notify_enabled_batch_context_envelopes merge
Combine objects together
notify_enabled_batch_contexts map
Extract from each item
notification_title_prefix_text trim
Trim whitespace from setting notification title prefix
notification_title_prefix_text_live_batch_context pick
Keep only specific fields from
notification_title_prefix_text_batch_context_envelopes merge
Combine objects together
notification_title_prefix_text_batch_contexts map
Extract from each item
notification_title concat
Combine text or lists together
notification_title_live_batch_context pick
Keep only specific fields from
notification_title_batch_context_envelopes merge
Combine objects together
notification_title_batch_contexts map
Extract from each item
notification_text concat
Combine text or lists together
notification_text_live_batch_context pick
Keep only specific fields from
notification_text_batch_context_envelopes merge
Combine objects together
notification_text_batch_contexts map
Extract from each item
should_notify all
Check if all conditions are true
should_notify_live_batch_context pick
Keep only specific fields from
should_notify_batch_context_envelopes merge
Combine objects together
should_notify_batch_contexts map
Extract from each item
notify_owner ?
skip: item.should_notify not_equal true
notify_owner_live_batch_context pick
Keep only specific fields from
notify_owner_batch_context_envelopes merge
Combine objects together
notify_owner_batch_contexts map
Extract from each item
refreshed_watch_value merge
Combine objects together
skip: item.delete_closed_active_watch.ok equal true
refreshed_watch_value_live_batch_context pick
Keep only specific fields from
refreshed_watch_value_batch_context_envelopes merge
Combine objects together
refreshed_watch_value_batch_contexts map
Extract from each item
refresh_active_watch ?
skip: item.delete_closed_active_watch.ok equal true
refresh_active_watch_live_batch_context pick
Keep only specific fields from
refresh_active_watch_batch_context_envelopes merge
Combine objects together
refresh_active_watch_batch_contexts map
Extract from each item
closed_batch_rows filter
Filter by condition
refreshed_batch_rows filter
Filter by condition
closed_batch_count count
Count items in closed batch rows
refreshed_batch_count count
Count items in refreshed batch rows
summary to_summary
Format results as a summary card
Settings 11 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

channels setting = in_app
intercom setting =
batch limit setting = 5
closure states setting = closed
waiting states setting = open,snoozed
notify when closed setting = true
closed owner action setting = Conversation reached an Intercom closure state; no further Recued follow-up is open for this conversation.
owner review states setting = open
notify when owner review setting = true
notification title prefix setting = Intercom conversation reply watch
owner review owner action setting = Conversation has a customer-waiting signal after the Recued reply; review the latest Intercom conversation before replying again.

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Send notificationsRead your Intercom connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

Data it touches

Warehousedata.shared

About

Tags

intercom intercomsupportconversationreplyclosurenotificationclosed-loopstate:intercom-conversation-reply-closure-watcherpack:intercom-conversation-reply-closure

Details

150 steps 11 configurable settings recipe_id: intercom-conversation-reply-closure-watcher