Next Best Actions
Use “Next Best Actions” in Recued. AI analyzes deal state, contacts, and recent activity to recommend 3-5 prioritized next actions with ready-to-use email snippets. Activities bind to your HubSpot connection via the standard service operation.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (19 steps)
deal
recued-core.hubspot.deal.read
Read deal on hubspot
guard_deal
guard
Stop if deal result properties is empty
contacts_list
recued-core.hubspot.deal_contacts.list
List deal contacts on hubspot
contacts
map
Extract from each item
activities
recued-core.hubspot.engagement.list
List engagement on hubspot
activities_flat
map
Extract from each item
days_inactive
date_diff
Calculate days between deal result properties notes last contacted and now
skip: step.deal.result.properties.notes_last_contacted is_null
contact_count
count
Count items in contacts
recent_activities
slice
Take a subset of
actions_pii_protect
pii-protect
Apply pii-protect
activities_pii_protect
pii-protect
Apply pii-protect
action_context
pick
Keep only specific fields from
actions
core.ai.prompt
AI generates a response from a custom prompt
actions_pii_restore
pii-restore
Apply pii-restore
action_list
coalesce
Use the first available value from: actions pii restore restored actions,
action_checklist
to_checklist
Format results as an actionable checklist
top_snippet
coalesce
Use the first available value from: action list 0 snippet, No snippet available
second_snippet
coalesce
Use the first available value from: action list 1 snippet,
deal_summary
to_summary
Format results as a summary card
▼
Output
summary
deal_summary
checklist
action_checklist
copyable
top_snippet
copyable
second_snippet
ai_analysis
actions_pii_restore.restored
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
tone
choice
=
professional
(professional, friendly, concise)
action count
number
=
3
Uses (4 operations)
Pack operation
Read deal on hubspot
recued-core.hubspot.deal.read
Pack operation
List deal contacts on hubspot
recued-core.hubspot.deal_contacts.list
Pack operation
List engagement on hubspot
recued-core.hubspot.engagement.list
AI models
AI generates a response from a custom prompt
core.ai.prompt
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.
What it's allowed to do
Read
AI models
core.ai.prompt
read-only
3 more aren't listed here. You'll see them at install.