Recued
Menu
← Back to recipes

Account Activity Summary

by recued-core v3 39 views

Use “Account Activity Summary” in Recued. Summarizes customer wants, concerns, and decision criteria from recent deal activities. Fallback shows last 5 call note titles when AI disabled.

How it works 17 steps

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

Process (17 steps)
◆ activities recued-core.hubspot.engagement.list
List engagement on hubspot
■ activities_flat map
Extract from each item
■ activities_with_days map
Extract timestamp from each item
■ recent_activities filter
Filter by condition
■ max_activities math
Calculate: floor({{config.max_chars}} / 200)
■ capped_activities slice
Take a subset of
■ run_ai_check all
Check if all conditions are true
■ should_show_fallback all
Check if all conditions are true
■ empty_state template
Generate text from a template
skip: step.recent_activities is_not_empty
■ fallback_slice slice
Take a subset of
■ fallback_subjects pluck
Extract subject from each item
■ fallback_joined join
Join items with ", "
■ fallback_text template
Generate text from a template
skip: step.should_show_fallback equal false
✦ ai_extract core.ai.extract
AI extracts structured fields from data
skip: step.run_ai_check equal false
■ wants_block template
Generate text from a template
skip: step.run_ai_check equal false
■ concerns_block template
Generate text from a template
skip: step.run_ai_check equal false
■ criteria_block template
Generate text from a template
skip: step.run_ai_check equal false
▼
Output
text empty_state
text fallback_text
text wants_block
text concerns_block
text criteria_block
Settings 4 configurable

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

enable ai toggle = on
max chars number = 8000
lookback days number = 180
fallback note count number = 5

Uses (2 operations)

Pack operation List engagement on hubspot recued-core.hubspot.engagement.list
AI models AI extracts structured fields from data core.ai.extract

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.extract read-only

1 more isn't listed here. You'll see it at install.

Data it touches

SurfacesAI models

About

Tags

hubspot dealactivitiesaisummaryhubspotcontext

Details

17 steps 4 configurable settings recipe_id: summarize-account-activities-hubspot