How Gabrielle fires — from n8n to /tasks-v2

one cron per playbook -> Core Gate -> API Gateway -> producer -> SQS -> consumer -> DynamoDB -> card

How Gabrielle fires — from n8n to /tasks-v2 one cron per playbook -> Core Gate -> API Gateway -> producer -> SQS -> consumer -> DynamoDB -> card 01 / n8n playbook 02 / Gate + API 03 / Enqueue 04 / Assess (Gabrielle) 05 / Store + card n8n · Schedule Trigger · 1 cron per playbook · 01 / n8n playbook · UTC n8n · Schedule Trigger 1 cron per playbook UTC Build Gate Payload · playbook_id · list/view · 01 / n8n playbook · source_workflow Build Gate Payload playbook_id · list/view source_workflow Auto Tasks (legacy) · direct POST · 2×/day · 02 / Gate + API · legacy Auto Tasks (legacy) direct POST · 2×/day legacy API Gateway /generate · 5pauixfui5 · 02 / Gate + API · Bearer HOOK_SECRET API Gateway /generate 5pauixfui5 Bearer HOOK_SECRET Core Gate (shared) · Build Context → Checks? → POST · 02 / Gate + API · shared Core Gate (shared) Build Context → Checks? → POST shared task_producer · Lambda · 03 / Enqueue · producer task_producer Lambda producer SQS · generation queue · 03 / Enqueue · async SQS generation queue async Airtable SSOT · playbook's brain · 03 / Enqueue · read Airtable SSOT playbook's brain read task_consumer · Gabrielle · Dossier → Assess 25 rules → Bedrock · 04 / Assess (Gabrielle) · consumer task_consumer · Gabrielle Dossier → Assess 25 rules → Bedrock consumer HubSpot · list/view · deal · 04 / Assess (Gabrielle) · read HubSpot list/view · deal read DynamoDB tasks · single-table · 05 / Store + card · SSOT DynamoDB tasks single-table SSOT /tasks-v2 · pending · needs · held · suppressed · 05 / Store + card · card /tasks-v2 pending · needs · held · suppressed card Gmail · DWD · real thread · 05 / Store + card · read Gmail · DWD real thread read gate payload playbook_id · list/view build context source_workflow checked POST Bearer HOOK_SECRET legacy door direct POST · divert generate event main flow enqueue generation queue poll at-least-once playbook brain SSOT read list/view · deal CRM read real thread DWD read write single-table card read queue projection Legend primary data async batch data store data flow

Main flow

  • • One cron per playbook fires the n8n Schedule Trigger on a UTC clock
  • • Core Gate builds context, runs its checks, then POSTs to /generate with a Bearer HOOK_SECRET
  • • task_producer enqueues on SQS; task_consumer drafts and writes the task item to DynamoDB

Two doors in

  • • The n8n Core Gate is the intended front door for each playbook
  • • Auto Tasks (legacy) still posts directly to /generate twice a day
  • • Both doors land on the same API, so watch for double-gen

Terminal states

  • • The card in /tasks-v2 shows pending · needs · held · suppressed
  • • held reflects a Governor HOLD; suppressed is the DEV-947 drop
  • • Gabrielle reads Airtable SSOT, HubSpot and the real Gmail thread before Bedrock drafts