@synap-core/workspace-templates 0.40.0 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/templates.ts CHANGED
@@ -102,6 +102,12 @@ const DATA = {
102
102
  }
103
103
  ],
104
104
  "executor": "is-agent",
105
+ "tools": [
106
+ "resolve_identity",
107
+ "create_entity",
108
+ "attach_facet",
109
+ "create_relation"
110
+ ],
105
111
  "status": "active",
106
112
  "expectedOutputs": [
107
113
  {
@@ -114,7 +120,7 @@ const DATA = {
114
120
  {
115
121
  "name": "Weekly review",
116
122
  "description": "Once a week, empty the inbox, check every open deal, engagement and invoice, and choose next week's priorities with a person.",
117
- "goalTemplate": "Run the weekly review. COLLECT: list everything captured this week that was never clarified, every question waiting on a person, and every session still open. CLARIFY: propose what each unclarified capture is. REVIEW: list deals with no next step, engagements with a deliverable past due, invoices overdue, campaigns past their end date without a report, and expenses waiting for approval — each with the one action that would move it. PLAN: ask the person to `choose` next week's three priorities, your recommendation first; that answer is the plan. Create a task for each priority they choose.",
123
+ "goalTemplate": "Run the weekly review. COLLECT: list everything captured this week that was never clarified, every question waiting on a person, and every session still open. CLARIFY: propose what each unclarified capture is. REVIEW: list deals with no next step, engagements with a deliverable past due, invoices overdue, campaigns past their end date without a report, and expenses waiting for approval — each with the one action that would move it — and end your answer with the three priorities you recommend for next week, most important first. Stop there: the pod then asks the person to pick next week's priorities and wakes you with their answer. PLAN: with their answer, create a task for each priority they picked (the three you recommended, or the ones they wrote instead); none when they want no new priorities.",
118
124
  "executor": "is-agent",
119
125
  "status": "active",
120
126
  "schedule": {
@@ -146,7 +152,7 @@ const DATA = {
146
152
  "key": "review",
147
153
  "name": "Review",
148
154
  "category": "started",
149
- "goal": "List stuck deals, late deliverables, overdue invoices, unreported campaigns and pending expenses, each with one action.",
155
+ "goal": "List stuck deals, late deliverables, overdue invoices, unreported campaigns and pending expenses, each with one action, and end with the three priorities you recommend for next week.",
150
156
  "criteria": [
151
157
  {
152
158
  "key": "review-every-area",
@@ -155,13 +161,34 @@ const DATA = {
155
161
  "kind": "judge"
156
162
  }
157
163
  }
158
- ]
164
+ ],
165
+ "endAsk": {
166
+ "label": "Next week's priorities",
167
+ "why": "The review above ends with the three priorities the run recommends for next week.",
168
+ "unblocks": "The run creates a task for each priority",
169
+ "ask": {
170
+ "mode": "choose",
171
+ "options": [
172
+ {
173
+ "label": "The three recommended",
174
+ "value": "recommended",
175
+ "recommended": true,
176
+ "description": "A task is created for each"
177
+ },
178
+ {
179
+ "label": "No new priorities this week",
180
+ "value": "none",
181
+ "description": "Nothing is created"
182
+ }
183
+ ]
184
+ }
185
+ }
159
186
  },
160
187
  {
161
188
  "key": "plan",
162
189
  "name": "Plan",
163
190
  "category": "completed",
164
- "goal": "Ask the person to choose next week's three priorities, your recommendation first; create a task for each."
191
+ "goal": "Create a task for each priority the person picked (the three recommended, or the ones they wrote); none when they want no new priorities."
165
192
  }
166
193
  ]
167
194
  }
@@ -3292,7 +3319,7 @@ const DATA = {
3292
3319
  {
3293
3320
  "name": "Make a brand asset",
3294
3321
  "description": "Turn a request for a logo, image, icon or template into a draft built from the approved brand, and approve it with a person before anything uses it.",
3295
- "goalTemplate": "Make this brand asset ({asset}); each stage moves its status. DRAFT: read the request and the approved brand only — approved colours, fonts, references and the active token set; never a draft — and load the creative-director skill to pick the recipe. Make the draft (or up to three variants, each its own asset derived from this one) and record the generator, prompt and parameters on it. APPROVE: a person approves one draft as final; with variants, the approval asks them to `choose` one, your recommendation first, and that choice is the approval. Until then nothing may use it. Deprecating an asset is a person's call.",
3322
+ "goalTemplate": "Make this brand asset ({asset}); each stage moves its status. DRAFT: read the request and the approved brand only — approved colours, fonts, references and the active token set; never a draft — and load the creative-director skill to pick the recipe. Make the draft (or up to three variants, each its own asset derived from this one) and record the generator, prompt and parameters on it. Stop there: with variants, the pod asks the person which one to keep and wakes you with their choice (its id is in the answer); when they want none, draft again. APPROVE: a person approves one draft as final (with variants, the one they kept). Until then nothing may use it. Deprecating an asset is a person's call.",
3296
3323
  "subjectProfile": {
3297
3324
  "profileSlug": "brand-asset"
3298
3325
  },
@@ -3306,7 +3333,7 @@ const DATA = {
3306
3333
  ],
3307
3334
  "executor": "is-agent",
3308
3335
  "status": "active",
3309
- "requiredIntents": [
3336
+ "tools": [
3310
3337
  "generate_media"
3311
3338
  ],
3312
3339
  "expectedOutputs": [
@@ -3338,14 +3365,32 @@ const DATA = {
3338
3365
  "kind": "judge"
3339
3366
  }
3340
3367
  }
3341
- ]
3368
+ ],
3369
+ "endAsk": {
3370
+ "label": "Variant to keep",
3371
+ "why": "The run made several variants of this asset.",
3372
+ "unblocks": "The variant you keep goes to approval",
3373
+ "ask": {
3374
+ "mode": "choose",
3375
+ "options": [
3376
+ {
3377
+ "label": "None of them: draft again",
3378
+ "value": "redo",
3379
+ "description": "The run makes new variants"
3380
+ }
3381
+ ]
3382
+ },
3383
+ "optionsFrom": {
3384
+ "relation": "derived_from"
3385
+ }
3386
+ }
3342
3387
  },
3343
3388
  {
3344
3389
  "key": "approve",
3345
3390
  "name": "Approve",
3346
3391
  "category": "completed",
3347
3392
  "subjectStatus": "approved",
3348
- "goal": "A person approves one draft as final; with variants, they choose one, recommended first.",
3393
+ "goal": "A person approves one draft as final; with variants, the one they kept.",
3349
3394
  "gate": {
3350
3395
  "kind": "human"
3351
3396
  },
@@ -6751,6 +6796,9 @@ const DATA = {
6751
6796
  }
6752
6797
  ],
6753
6798
  "executor": "is-agent",
6799
+ "tools": [
6800
+ "github_pr_checks"
6801
+ ],
6754
6802
  "status": "active",
6755
6803
  "stages": [
6756
6804
  {
@@ -6958,6 +7006,10 @@ const DATA = {
6958
7006
  }
6959
7007
  ],
6960
7008
  "executor": "is-agent",
7009
+ "tools": [
7010
+ "create_entity",
7011
+ "create_relation"
7012
+ ],
6961
7013
  "status": "active",
6962
7014
  "criteria": [
6963
7015
  {
@@ -6979,7 +7031,7 @@ const DATA = {
6979
7031
  {
6980
7032
  "name": "Build a change",
6981
7033
  "description": "Dev set (decision d05), key: build. Works one feature (devplane_feature) from shaped criteria to a verified change on main; its stages follow the feature's lifecycle (spec, in_progress, in_review, done); a cancelled or failed session leaves the feature where it is. One feature per session, never two subjects (founder default, 2026-11-05). A quick change is this playbook with size small (no plan); a night shift run is this playbook with unattended true. No activators until binding is turned on; the shape would be {on: enters_status, status: spec, size: per_thing, mode: propose}, the trigger Ship a change uses today. Reuses Ship a change (2c5aa553) stage text and evidence keys; absorbs AI Dev Session and Quick change once they are re-pointed. Draft until the founder activates it.",
6982
- "goalTemplate": "Build {feature} through one session and one PR per repo (or gated commits on main in a private repo), size {size}. SHAPE: write the end state and 2-5 binary criteria on this session (plan skill, skipped when size is small). BUILD: branch <type>/<slug> from origin/main in your own worktree, commit in verified slices, run the smallest gate that answers with its negative control, quote the output. LAND: follow the land stages (Change proposed, Checks green, Landed on main, Deployed to lab, Dogfooded, Criteria verified). Unattended: {unattended}. When unattended is true, ask no person, stop at a draft PR or a gated branch, never merge, push main or deploy, and post one \"Look at first:\" paragraph in the room.",
7034
+ "goalTemplate": "Build {feature} through one session and one PR per repo (or gated commits on main in a private repo), size {size}. SHAPE: write the end state and 2-5 binary criteria on this session (plan skill, skipped when size is small). BUILD: branch <type>/<slug> from origin/main in your own worktree, commit in verified slices, run the smallest gate that answers with its negative control, quote the output. LAND: follow the land stages (Change proposed, Checks green, Landed on main, Deployed to lab, Dogfooded, Criteria verified). Unattended: {unattended}. When unattended is true, ask no person, stop at a draft PR or a gated branch, never merge, push main or deploy, and end with your answer: one \"Look at first:\" paragraph.",
6983
7035
  "scope": "session",
6984
7036
  "subjectProfile": {
6985
7037
  "profileSlug": "devplane_feature"
@@ -7203,7 +7255,7 @@ const DATA = {
7203
7255
  },
7204
7256
  {
7205
7257
  "key": "verify",
7206
- "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, capture what was learned, and close the session.",
7258
+ "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, capture what was learned, and end with the graded criteria as your answer.",
7207
7259
  "name": "Criteria verified",
7208
7260
  "category": "completed",
7209
7261
  "criteria": [
@@ -7223,7 +7275,7 @@ const DATA = {
7223
7275
  {
7224
7276
  "name": "Fix a bug",
7225
7277
  "description": "Dev set (decision d05), key: fix. Works an issue at its root: reproduce it with a failing test, fix the canonical path, a clean-context review, then the shared land stages. Its stages follow the issue's lifecycle (open, investigating, fixed); a cancelled or failed session leaves the issue where it is, as Fix a finding does. Small fixes may be batched (founder default, 2026-11-05): several issues in one session, one as the subject and the rest as session targets; today a stage moves only the subject. No activators until binding is turned on; a batch would be {on: count, status: open, min: 3} or {on: schedule, cron, status: open} (both one session per moment). A night shift run is this playbook with unattended true. Reuses Bugfix (8c335e2e), Night shift: build an issue (c101dd75) and Ship a change (2c5aa553). Draft until the founder activates it.",
7226
- "goalTemplate": "Fix the issue {issue} at its root and prove it with a test that fails before the fix and passes after. REPRODUCE (recall first, smallest reproduction, root cause file:line), FIX on the canonical path in your own worktree, a clean-context REVIEW, then LAND through the shared land stages (Change proposed, Checks green, Landed on main, Deployed to lab, Dogfooded, Criteria verified). Unattended: {unattended}. When unattended is true, ask no person, stop at a draft PR or a gated branch, never merge, push main or deploy; if no code fix is right, write the root cause as a pod document; post one \"Look at first:\" paragraph in the room.",
7278
+ "goalTemplate": "Fix the issue {issue} at its root and prove it with a test that fails before the fix and passes after. REPRODUCE (recall first, smallest reproduction, root cause file:line), FIX on the canonical path in your own worktree, a clean-context REVIEW, then LAND through the shared land stages (Change proposed, Checks green, Landed on main, Deployed to lab, Dogfooded, Criteria verified). Unattended: {unattended}. When unattended is true, ask no person, stop at a draft PR or a gated branch, never merge, push main or deploy; if no code fix is right, write the root cause as a pod document; end with your answer: one \"Look at first:\" paragraph.",
7227
7279
  "scope": "session",
7228
7280
  "subjectProfile": {
7229
7281
  "profileSlug": "issue"
@@ -7468,7 +7520,7 @@ const DATA = {
7468
7520
  },
7469
7521
  {
7470
7522
  "key": "verify",
7471
- "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, capture what was learned, and close the session.",
7523
+ "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, capture what was learned, and end with the graded criteria as your answer.",
7472
7524
  "name": "Criteria verified",
7473
7525
  "category": "completed",
7474
7526
  "criteria": [
@@ -7594,6 +7646,9 @@ const DATA = {
7594
7646
  }
7595
7647
  ],
7596
7648
  "executor": "is-agent",
7649
+ "tools": [
7650
+ "create_document"
7651
+ ],
7597
7652
  "status": "draft",
7598
7653
  "stages": [
7599
7654
  {
@@ -7640,7 +7695,7 @@ const DATA = {
7640
7695
  {
7641
7696
  "name": "Maintain",
7642
7697
  "description": "Dev set (decision d05), key: maintain. Works a task (one bounded chore: a dependency bump, a cleanup, a prune) in your own worktree, gated at the smallest rung, then the shared land stages when something changed. Nothing to change ends the session with a one-line reason. Small chores may be batched: several tasks in one session, one as the subject and the rest as targets. It writes no task status yet: the task lifecycle property is not confirmed (Builder's task-status is a plain select with no declared lifecycle). No activators until binding is turned on. Draft until the founder activates it.",
7643
- "goalTemplate": "Do this chore: {chore} (repo: {repo}). DO it in your own worktree and run the smallest gate that answers; if there is nothing to change, say why in one line and close. LAND it through the shared land stages only when something changed.",
7698
+ "goalTemplate": "Do this chore: {chore} (repo: {repo}). DO it in your own worktree and run the smallest gate that answers; if there is nothing to change, stop and say why in one line as your answer. LAND it through the shared land stages only when something changed.",
7644
7699
  "scope": "session",
7645
7700
  "subjectProfile": {
7646
7701
  "profileSlug": "task"
@@ -7819,7 +7874,7 @@ const DATA = {
7819
7874
  },
7820
7875
  {
7821
7876
  "key": "verify",
7822
- "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, capture what was learned, and close the session.",
7877
+ "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, capture what was learned, and end with the graded criteria as your answer.",
7823
7878
  "name": "Criteria verified",
7824
7879
  "category": "completed",
7825
7880
  "criteria": [
@@ -7838,7 +7893,7 @@ const DATA = {
7838
7893
  {
7839
7894
  "name": "Fix main red",
7840
7895
  "description": "Dev set (decision d05), key: main-red. Own one red on main, once: claim it or join its owner, read the failing step, fix forward on fix/main-red-<sha8>, then the shared land stages. No subject kind: a session titled \"main red: <repo> <check> @<sha8>\" (the title the github-ci rule mandates) is how it is started. Stage text comes from the github-ci rule section \"Never\". Draft until the founder activates it.",
7841
- "goalTemplate": "Fix main red on {repo}: check {check} at {sha8}. CLAIM it once or join its owner. READ the failing step and recall what the pod knows. FIX forward on branch fix/main-red-{sha8} with a PR titled \"fix: main red\", gated at the smallest rung; never revert-war. LAND it through the shared land stages and close this session once the fix is on main.",
7896
+ "goalTemplate": "Fix main red on {repo}: check {check} at {sha8}. CLAIM it once or join its owner. READ the failing step and recall what the pod knows. FIX forward on branch fix/main-red-{sha8} with a PR titled \"fix: main red\", gated at the smallest rung; never revert-war. LAND it through the shared land stages until the fix is on main.",
7842
7897
  "scope": "session",
7843
7898
  "params": [
7844
7899
  {
@@ -8051,7 +8106,7 @@ const DATA = {
8051
8106
  },
8052
8107
  {
8053
8108
  "key": "verify",
8054
- "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, capture what was learned, and close the session.",
8109
+ "goal": "Grade every criterion of the session with its evidence, separating VERIFIED (gate or check output quoted) from NEEDS-DOGFOOD, capture what was learned, and end with the graded criteria as your answer.",
8055
8110
  "name": "Criteria verified",
8056
8111
  "category": "completed",
8057
8112
  "criteria": [
@@ -12162,8 +12217,10 @@ const DATA = {
12162
12217
  ],
12163
12218
  "executor": "is-agent",
12164
12219
  "status": "active",
12165
- "requiredIntents": [
12166
- "publish_post"
12220
+ "tools": [
12221
+ "publish_post",
12222
+ "generate_media",
12223
+ "edit_video"
12167
12224
  ],
12168
12225
  "inputStrategy": {
12169
12226
  "kind": "pinned",
@@ -12515,6 +12572,10 @@ const DATA = {
12515
12572
  }
12516
12573
  ],
12517
12574
  "executor": "is-agent",
12575
+ "tools": [
12576
+ "create_entity",
12577
+ "update_entities"
12578
+ ],
12518
12579
  "status": "active"
12519
12580
  },
12520
12581
  {
@@ -12529,20 +12590,44 @@ const DATA = {
12529
12590
  }
12530
12591
  ],
12531
12592
  "executor": "is-agent",
12593
+ "tools": [
12594
+ "propose_entity_graph",
12595
+ "update_entity"
12596
+ ],
12532
12597
  "status": "active"
12533
12598
  },
12534
12599
  {
12535
12600
  "name": "Write the caption",
12536
- "description": "Draft the caption of one post from its brief and its script, as a draft in its script document that the person edits and saves.",
12537
- "goalTemplate": "Draft the caption of this post ({post}). Read the post: its hook (post-hook), its call to action (post-cta), its pillar, its journey stage, its platform (post-platform) and its format. Read its script, the post's own document: its slides (the S1, S2 lines or the slide table) and any caption already written under \"## Caption\". Write ONE caption in the brand voice (the pod's brand kit) that says what the slides leave out: a first line that stands on its own before the platform cuts it (Instagram shows about 125 characters before \"more\", LinkedIn about 210 before \"see more\"), then two or three short lines, and the call to action last. No hashtag wall, no emoji run, no claim the script does not make, and no line that starts with \"##\". Put it in the script document as its \"## Caption draft\" section: replace that section if it is there, else add it at the end, and change no other line (synap_update_document with the revision you read). Never write or change the \"## Caption\" section: it is the person's. They approve your draft on the post's page in Content Studio, where \"Use this draft\" and their Save make it the caption. Never move the post's status. Stop once the draft is in the document: your answer is the caption draft itself.",
12601
+ "description": "Draft the caption of one post from its brief and its script, filed as a draft section of its script document for the person to approve.",
12602
+ "goalTemplate": "Write the caption of this post ({post}) from its fields and its script below: its hook (post-hook), its call to action (post-cta), its pillar, its journey stage, its platform (post-platform) and its format, the script's slides (the S1, S2 lines or the slide table) and any caption already written under \"Caption\". Write ONE caption in the brand voice you are given that says what the slides leave out: a first line that stands on its own before the platform cuts it (Instagram shows about 125 characters before \"more\", LinkedIn about 210 before \"see more\"), then two or three short lines, and the call to action last. No hashtag wall, no emoji run, no claim the script does not make, and no line that starts with \"##\".",
12538
12603
  "subjectProfile": {
12539
12604
  "profileSlug": "post"
12540
12605
  },
12606
+ "guidance": [
12607
+ {
12608
+ "ref": "kind:brand-voice-guide",
12609
+ "label": "Voice",
12610
+ "where": {
12611
+ "voice-context": [
12612
+ "general",
12613
+ "social"
12614
+ ]
12615
+ }
12616
+ }
12617
+ ],
12541
12618
  "expectedOutputs": [
12542
12619
  {
12543
12620
  "kind": "document",
12544
12621
  "label": "Caption draft",
12545
- "relationToSubject": "none"
12622
+ "relationToSubject": "none",
12623
+ "lands": {
12624
+ "target": "subject_document_section",
12625
+ "section": "Caption draft",
12626
+ "examples": {
12627
+ "approved": 3,
12628
+ "rejected": 3
12629
+ }
12630
+ }
12546
12631
  }
12547
12632
  ],
12548
12633
  "params": [
@@ -12553,7 +12638,7 @@ const DATA = {
12553
12638
  "required": true
12554
12639
  }
12555
12640
  ],
12556
- "executor": "is-agent",
12641
+ "executor": "generate",
12557
12642
  "status": "active"
12558
12643
  },
12559
12644
  {
@@ -12590,6 +12675,10 @@ const DATA = {
12590
12675
  }
12591
12676
  ],
12592
12677
  "executor": "is-agent",
12678
+ "tools": [
12679
+ "create_entity",
12680
+ "create_relation"
12681
+ ],
12593
12682
  "status": "active"
12594
12683
  },
12595
12684
  {
@@ -14583,7 +14672,8 @@ const DATA = {
14583
14672
  }
14584
14673
  ],
14585
14674
  "executor": "is-agent",
14586
- "grants": [
14675
+ "tools": [
14676
+ "update_entity",
14587
14677
  "apify_run_actor",
14588
14678
  "entity.create"
14589
14679
  ],
@@ -14592,7 +14682,7 @@ const DATA = {
14592
14682
  {
14593
14683
  "name": "Qualify a lead",
14594
14684
  "description": "Research one lead, decide with a person whether it is worth pursuing, and set a pursued lead qualified with \"book a meeting\" as its next action.",
14595
- "goalTemplate": "Qualify this lead ({lead}). RESEARCH: verify and enrich only facts you can support — company, role, size, recent signal — and record the source of each. SCORE: assess fit against the offers and the ideal client, set the ICP score, qualification notes and outreach channels, and write the step you recommend as the lead's next action: `nextAction` one imperative line (e.g. \"Send the first message on LinkedIn\") and `nextActionAt` its date. DECIDE: ask the person to `choose` pursue, nurture or drop, your recommendation first; that answer is the decision. NURTURE: set the lead to nurturing, with `nextAction` to check in again and `nextActionAt` the date they gave (three months out when they gave none). DROP: write their reason in `disqualificationReason` and move the lead to disqualified; that move is the person's (disqualified is human-only), so it comes back proposed for them to approve, which is success; never write it another way. PURSUE: only when they chose pursue, set the lead to qualified with `nextAction` \"Book a meeting\" (one line naming the channel, e.g. \"Ask for a meeting on LinkedIn\") and `nextActionAt` its date. Never create a deal: a deal is opened when a person records a booked meeting, and that same step converts the lead. Never mark the lead a client.",
14685
+ "goalTemplate": "Qualify this lead ({lead}). RESEARCH: verify and enrich only facts you can support — company, role, size, recent signal — and record the source of each. SCORE: assess fit against the offers and the ideal client, set the ICP score, qualification notes and outreach channels, and write the step you recommend as the lead's next action: `nextAction` one imperative line (e.g. \"Send the first message on LinkedIn\") and `nextActionAt` its date, and say in the qualification notes whether you recommend pursuing, nurturing or dropping it. Stop there: the pod asks the person to pick pursue, nurture or drop and wakes you with their answer, which is the decision. DECIDE: record it on the lead. NURTURE: set the lead to nurturing, with `nextAction` to check in again and `nextActionAt` the date they gave (three months out when they gave none). DROP: write their reason in `disqualificationReason` and move the lead to disqualified; that move is the person's (disqualified is human-only), so it comes back proposed for them to approve, which is success; never write it another way. PURSUE: only when they chose pursue, set the lead to qualified with `nextAction` \"Book a meeting\" (one line naming the channel, e.g. \"Ask for a meeting on LinkedIn\") and `nextActionAt` its date. Never create a deal: a deal is opened when a person records a booked meeting, and that same step converts the lead. Never mark the lead a client.",
14596
14686
  "subjectProfile": {
14597
14687
  "profileSlug": "lead"
14598
14688
  },
@@ -14612,7 +14702,7 @@ const DATA = {
14612
14702
  ],
14613
14703
  "executor": "is-agent",
14614
14704
  "status": "active",
14615
- "requiredIntents": [
14705
+ "tools": [
14616
14706
  "enrich_entity",
14617
14707
  "search_external"
14618
14708
  ],
@@ -14637,7 +14727,7 @@ const DATA = {
14637
14727
  "key": "score",
14638
14728
  "name": "Score",
14639
14729
  "category": "started",
14640
- "goal": "Set the ICP score, qualification notes and outreach channels, and the recommended step as the lead's nextAction and nextActionAt.",
14730
+ "goal": "Set the ICP score, qualification notes (with whether you recommend pursuing, nurturing or dropping it) and outreach channels, and the recommended step as the lead's nextAction and nextActionAt.",
14641
14731
  "criteria": [
14642
14732
  {
14643
14733
  "key": "lead-score-set",
@@ -14653,13 +14743,38 @@ const DATA = {
14653
14743
  "kind": "judge"
14654
14744
  }
14655
14745
  }
14656
- ]
14746
+ ],
14747
+ "endAsk": {
14748
+ "label": "Pursue, nurture or drop",
14749
+ "why": "The lead is researched and scored; its qualification notes say which the run recommends.",
14750
+ "unblocks": "The run sets the lead from your answer",
14751
+ "ask": {
14752
+ "mode": "choose",
14753
+ "options": [
14754
+ {
14755
+ "label": "Pursue",
14756
+ "value": "pursue",
14757
+ "description": "Qualified, with booking a meeting as its next action"
14758
+ },
14759
+ {
14760
+ "label": "Nurture",
14761
+ "value": "nurture",
14762
+ "description": "The run sets a date to check in again"
14763
+ },
14764
+ {
14765
+ "label": "Drop",
14766
+ "value": "drop",
14767
+ "description": "Disqualified once you approve the move"
14768
+ }
14769
+ ]
14770
+ }
14771
+ }
14657
14772
  },
14658
14773
  {
14659
14774
  "key": "decide",
14660
14775
  "name": "Decide",
14661
14776
  "category": "started",
14662
- "goal": "Ask the person to choose pursue, nurture or drop, your recommendation first, and record the answer on the lead; a nurtured lead gets a nextAction to check in and its nextActionAt, a dropped one its disqualificationReason and a proposed move to disqualified.",
14777
+ "goal": "Record the person's answer (pursue, nurture or drop) on the lead; a nurtured lead gets a nextAction to check in and its nextActionAt, a dropped one its disqualificationReason and a proposed move to disqualified.",
14663
14778
  "criteria": [
14664
14779
  {
14665
14780
  "key": "lead-decision-chosen",
@@ -14709,7 +14824,9 @@ const DATA = {
14709
14824
  }
14710
14825
  },
14711
14826
  "executor": "is-agent",
14712
- "grants": [
14827
+ "tools": [
14828
+ "update_entity",
14829
+ "enrich_entity",
14713
14830
  "apify_run_actor"
14714
14831
  ],
14715
14832
  "status": "active"
@@ -14737,10 +14854,11 @@ const DATA = {
14737
14854
  ],
14738
14855
  "executor": "is-agent",
14739
14856
  "status": "active",
14740
- "requiredIntents": [
14857
+ "tools": [
14741
14858
  "enrich_entity",
14742
14859
  "search_external",
14743
- "list_records"
14860
+ "list_records",
14861
+ "send_message"
14744
14862
  ],
14745
14863
  "expectedOutputs": [
14746
14864
  {
@@ -14942,7 +15060,7 @@ const DATA = {
14942
15060
  ],
14943
15061
  "executor": "is-agent",
14944
15062
  "status": "active",
14945
- "requiredIntents": [
15063
+ "tools": [
14946
15064
  "search_external"
14947
15065
  ],
14948
15066
  "stages": [
@@ -15049,7 +15167,7 @@ const DATA = {
15049
15167
  ],
15050
15168
  "executor": "is-agent",
15051
15169
  "status": "active",
15052
- "requiredIntents": [
15170
+ "tools": [
15053
15171
  "search_external"
15054
15172
  ],
15055
15173
  "stages": [
@@ -15131,7 +15249,7 @@ const DATA = {
15131
15249
  {
15132
15250
  "name": "Draft a first message",
15133
15251
  "description": "Draft one personal first message for a lead, citing its buying signal or a past exchange, in the person's language, as a proposed message in their channel for a person to approve; the agent never sends.",
15134
- "goalTemplate": "Draft the first message to the lead {lead} on {channel}. READ: the lead's score fields (icpScore, buyingSignal, buyingSignalSource, qualificationNotes) as they are, never rescoring them; its channels, past messages and notes in the pod; and the outreach campaign given ({campaign}), if any: its value proposition and call to action are the angle. WHO: a person lead is written to directly; for a company lead, write to the person who decides there (from the pod, else its public decider), and when no decider is known ask the person who to write to. DRAFT: one first message on channel {channel}, in the campaign's angle when one is given. DRAFT RULES: each draft is one proposed message in the channel of the person it is written to, filed through the pod's send door: run messaging.send with to = that person's entity id (for a company lead, its decider: when that person is not in the pod, create them through the entity door with only their own fields, such as name, role and LinkedIn URL, never the company's website, domain or email), text = the message, and provider linkedin or email. Read their channel first (synap_get_channel, mode person) for what was already said. The pod files it for a person to review in that channel; it goes out only once they approve it. Never call a tool's own send verb (Unipile, Gmail), never create an outreach touch, a note or a task holding the message, and never use synap_capture for it. Never send. A LinkedIn message is drafted whatever their reach: the pod holds a draft to someone who is not a connection yet, shows it with the next step and lets it go out once they connect, so never hold a draft back for want of a connection. Draft it, then, in this order: (1) a person with no linkedinUrl: find their profile with linkedin_find_profile (their full name and company); on a match, propose its linkedinUrl and linkedinProviderId on the person for a person to approve; on none or several, ask the person to choose among its candidates (the process \"Find their LinkedIn\" does this for one lead). (2) Read their linkedinConnection, which only the pod writes (never set it or linkedinInvitedAt): connected, nothing more; none or not set, ask to connect with linkedin_send_invite (it refuses someone already connected or already invited: then nothing more); pending, the draft waits for them; ignored, draft by email instead when they have an email address. While the draft waits for them to connect, set the lead's nextAction to \"Wait for <name> to accept the LinkedIn request\" and its nextActionAt 7 days later. An email message needs none of this. RULES: follow the rules this process follows, in order: Voice, then By kind of lead (the first row that fits the lead; a given campaign's angle comes first). A rule shown as not available is left out: say so. Draft one message only: a person reviews it in the channel, edits it if needed and approves it. NEXT ACTION: set the lead's nextAction to \"Send the first message to <name> on LinkedIn\" (\"Send the first message to <name> by email\" on email), naming the person written to, and its nextActionAt to today. Never move the lead's stage while drafting. SENT: once the message is sent, follow the cadence, so \"Follow up on leads in outreach\" drafts the next one. CADENCE: when a message is sent (a person approved its proposed message, so it is an outbound message in the channel), set its lead's lastContactedAt to the sent day, count the messages sent to the lead (the outbound messages in its channels, read with synap_get_channel mode person: for a company lead, the channels of the person written to there), and set the lead's next action: after the first message, nextAction \"Follow up with <name> if no reply\" and nextActionAt the sent day + 3 days; after the first follow-up, nextAction \"Follow up with <name> a last time if no reply\" and nextActionAt the sent day + 7 days; after the second follow-up, nextAction \"No reply after two follow-ups: nurture or drop <name>\" and nextActionAt the sent day + 7 days, and when that date passes with no reply, \"Follow up on leads in outreach\" proposes nurturing. Never a third follow-up. Propose moving a lead at qualified to outreach through the status door, with its expected status. A reply stops the cadence: a reply is an inbound message after our last outbound one in the channel, and \"Follow up on leads in outreach\" reads it and proposes the next step.",
15252
+ "goalTemplate": "Draft the first message to the lead {lead} on {channel}. READ: the lead's score fields (icpScore, buyingSignal, buyingSignalSource, qualificationNotes) as they are, never rescoring them; its channels, past messages and notes in the pod; and the outreach campaign given ({campaign}), if any: its value proposition and call to action are the angle. WHO: a person lead is written to directly; for a company lead, write to the person who decides there (from the pod, else its public decider), and when no decider is known ask the person who to write to. DRAFT: one first message on channel {channel}, in the campaign's angle when one is given. DRAFT RULES: each draft is one proposed message in the channel of the person it is written to, filed through the pod's send door: run messaging.send with to = that person's entity id (for a company lead, its decider: when that person is not in the pod, create them through the entity door with only their own fields, such as name, role and LinkedIn URL, never the company's website, domain or email), text = the message, and provider linkedin or email. Read their channel first (channel.resolve, then feed.read) for what was already said. The pod files it for a person to review in that channel; it goes out only once they approve it. Never call a tool's own send verb (Unipile, Gmail), never create an outreach touch, a note or a task holding the message, and never use synap_capture for it. Never send. A LinkedIn message is drafted whatever their reach: the pod holds a draft to someone who is not a connection yet, shows it with the next step and lets it go out once they connect, so never hold a draft back for want of a connection. Draft it, then, in this order: (1) a person with no linkedinUrl: find their profile with linkedin_find_profile (their full name and company); on a match, propose its linkedinUrl and linkedinProviderId on the person for a person to approve; on none or several, ask the person to choose among its candidates (the process \"Find their LinkedIn\" does this for one lead). (2) Read their linkedinConnection, which only the pod writes (never set it or linkedinInvitedAt): connected, nothing more; none or not set, ask to connect with linkedin_send_invite (it refuses someone already connected or already invited: then nothing more); pending, the draft waits for them; ignored, draft by email instead when they have an email address. While the draft waits for them to connect, set the lead's nextAction to \"Wait for <name> to accept the LinkedIn request\" and its nextActionAt 7 days later. An email message needs none of this. RULES: follow the rules this process follows, in order: Voice, then By kind of lead (the first row that fits the lead; a given campaign's angle comes first). A rule shown as not available is left out: say so. Draft one message only: a person reviews it in the channel, edits it if needed and approves it. NEXT ACTION: set the lead's nextAction to \"Send the first message to <name> on LinkedIn\" (\"Send the first message to <name> by email\" on email), naming the person written to, and its nextActionAt to today. Never move the lead's stage while drafting. SENT: once the message is sent, follow the cadence, so \"Follow up on leads in outreach\" drafts the next one. CADENCE: when a message is sent (a person approved its proposed message, so it is an outbound message in the channel), set its lead's lastContactedAt to the sent day, count the messages sent to the lead (the outbound messages in its channels, read with channel.resolve and feed.read: for a company lead, the channels of the person written to there), and set the lead's next action: after the first message, nextAction \"Follow up with <name> if no reply\" and nextActionAt the sent day + 3 days; after the first follow-up, nextAction \"Follow up with <name> a last time if no reply\" and nextActionAt the sent day + 7 days; after the second follow-up, nextAction \"No reply after two follow-ups: nurture or drop <name>\" and nextActionAt the sent day + 7 days, and when that date passes with no reply, \"Follow up on leads in outreach\" proposes nurturing. Never a third follow-up. Propose moving a lead at qualified to outreach through the status door, with its expected status. A reply stops the cadence: a reply is an inbound message after our last outbound one in the channel, and \"Follow up on leads in outreach\" reads it and proposes the next step.",
15135
15253
  "subjectProfile": {
15136
15254
  "profileSlug": "lead"
15137
15255
  },
@@ -15182,7 +15300,12 @@ const DATA = {
15182
15300
  "label": "By kind of lead"
15183
15301
  }
15184
15302
  ],
15185
- "grants": [
15303
+ "tools": [
15304
+ "messaging.send",
15305
+ "channel.resolve",
15306
+ "feed.read",
15307
+ "linkedin_find_profile",
15308
+ "linkedin_send_invite",
15186
15309
  "entity.create"
15187
15310
  ],
15188
15311
  "stages": [
@@ -15273,8 +15396,9 @@ const DATA = {
15273
15396
  ],
15274
15397
  "executor": "is-agent",
15275
15398
  "status": "active",
15276
- "requiredIntents": [
15277
- "enrich_entity"
15399
+ "tools": [
15400
+ "enrich_entity",
15401
+ "unipile_list_accounts"
15278
15402
  ],
15279
15403
  "stages": [
15280
15404
  {
@@ -15341,11 +15465,11 @@ const DATA = {
15341
15465
  ],
15342
15466
  "executor": "is-agent",
15343
15467
  "status": "active",
15344
- "requiredIntents": [
15468
+ "tools": [
15345
15469
  "find_people",
15346
- "enrich_entity"
15347
- ],
15348
- "grants": [
15470
+ "enrich_entity",
15471
+ "web.read",
15472
+ "unipile_list_accounts",
15349
15473
  "entity.create"
15350
15474
  ],
15351
15475
  "stages": [
@@ -15442,7 +15566,7 @@ const DATA = {
15442
15566
  {
15443
15567
  "name": "Follow up on leads in outreach",
15444
15568
  "description": "Each weekday, read the channels of the leads in outreach; summarise a reply and propose the next step, or, when the follow-up is due with no reply, draft the next message in the angle of its outreach campaign as a proposed message for a person to approve; the agent never sends.",
15445
- "goalTemplate": "Follow up on the leads in outreach. For each, read its channels (synap_get_channel, mode person: for a company lead, the channels of the person who decides there) and its notes. A REPLY is an inbound message after our last outbound one in a channel. With a reply, draft nothing: summarise it for a person; when they show interest, propose the next step (prepare the free estimate, \"Prepare a pre-sale estimate\", or book a meeting) and propose moving the lead to engaged; when they decline, propose nurturing or disqualified with their reason (in disqualificationReason). Unless you propose dropping them, write the next step on the lead as nextAction, one imperative line, and nextActionAt, the date they named or today. Never open a deal and never answer the reply yourself; a person does. With no reply, and only when the lead's next action date is today or past and no proposed message to it is still waiting, draft the next message, to the lead (for a company, the person who decides there) and in the angle of the lead's outreach campaign: follow its value proposition and call to action. With no campaign and no By kind of lead row that fits, ask the person which campaign. Draft at most two follow-ups per lead: a lead already sent two follow-ups gets no draft, never a third follow-up; when its last date passes in silence, propose moving it to nurturing through the status door, with its expected status. DRAFT RULES: each draft is one proposed message in the channel of the person it is written to, filed through the pod's send door: run messaging.send with to = that person's entity id (for a company lead, its decider: when that person is not in the pod, create them through the entity door with only their own fields, such as name, role and LinkedIn URL, never the company's website, domain or email), text = the message, and provider linkedin or email. Read their channel first (synap_get_channel, mode person) for what was already said. The pod files it for a person to review in that channel; it goes out only once they approve it. Never call a tool's own send verb (Unipile, Gmail), never create an outreach touch, a note or a task holding the message, and never use synap_capture for it. Never send. A LinkedIn message is drafted whatever their reach: the pod holds a draft to someone who is not a connection yet, shows it with the next step and lets it go out once they connect, so never hold a draft back for want of a connection. Draft it, then, in this order: (1) a person with no linkedinUrl: find their profile with linkedin_find_profile (their full name and company); on a match, propose its linkedinUrl and linkedinProviderId on the person for a person to approve; on none or several, ask the person to choose among its candidates (the process \"Find their LinkedIn\" does this for one lead). (2) Read their linkedinConnection, which only the pod writes (never set it or linkedinInvitedAt): connected, nothing more; none or not set, ask to connect with linkedin_send_invite (it refuses someone already connected or already invited: then nothing more); pending, the draft waits for them; ignored, draft by email instead when they have an email address. While the draft waits for them to connect, set the lead's nextAction to \"Wait for <name> to accept the LinkedIn request\" and its nextActionAt 7 days later. An email message needs none of this. RULES: follow the rules this process follows, in order: Voice, then By kind of lead (the first row that fits the lead; a given campaign's angle comes first). A rule shown as not available is left out: say so. For each draft, set the lead's `nextAction` to send it (e.g. \"Send the drafted message to Ana on LinkedIn\") and `nextActionAt` to today. The person reviews each proposed message in its channel, edits it if needed and approves it; the agent never sends. CADENCE: when a message is sent (a person approved its proposed message, so it is an outbound message in the channel), set its lead's lastContactedAt to the sent day, count the messages sent to the lead (the outbound messages in its channels, read with synap_get_channel mode person: for a company lead, the channels of the person written to there), and set the lead's next action: after the first message, nextAction \"Follow up with <name> if no reply\" and nextActionAt the sent day + 3 days; after the first follow-up, nextAction \"Follow up with <name> a last time if no reply\" and nextActionAt the sent day + 7 days; after the second follow-up, nextAction \"No reply after two follow-ups: nurture or drop <name>\" and nextActionAt the sent day + 7 days, and when that date passes with no reply, \"Follow up on leads in outreach\" proposes nurturing. Never a third follow-up. Propose moving a lead at qualified to outreach through the status door, with its expected status. A reply stops the cadence: a reply is an inbound message after our last outbound one in the channel, and \"Follow up on leads in outreach\" reads it and proposes the next step.",
15569
+ "goalTemplate": "Follow up on the leads in outreach. For each, read its channels (channel.resolve and feed.read: for a company lead, the channels of the person who decides there) and its notes. A REPLY is an inbound message after our last outbound one in a channel. With a reply, draft nothing: summarise it for a person; when they show interest, propose the next step (prepare the free estimate, \"Prepare a pre-sale estimate\", or book a meeting) and propose moving the lead to engaged; when they decline, propose nurturing or disqualified with their reason (in disqualificationReason). Unless you propose dropping them, write the next step on the lead as nextAction, one imperative line, and nextActionAt, the date they named or today. Never open a deal and never answer the reply yourself; a person does. With no reply, and only when the lead's next action date is today or past and no proposed message to it is still waiting, draft the next message, to the lead (for a company, the person who decides there) and in the angle of the lead's outreach campaign: follow its value proposition and call to action. With no campaign and no By kind of lead row that fits, ask the person which campaign. Draft at most two follow-ups per lead: a lead already sent two follow-ups gets no draft, never a third follow-up; when its last date passes in silence, propose moving it to nurturing through the status door, with its expected status. DRAFT RULES: each draft is one proposed message in the channel of the person it is written to, filed through the pod's send door: run messaging.send with to = that person's entity id (for a company lead, its decider: when that person is not in the pod, create them through the entity door with only their own fields, such as name, role and LinkedIn URL, never the company's website, domain or email), text = the message, and provider linkedin or email. Read their channel first (channel.resolve, then feed.read) for what was already said. The pod files it for a person to review in that channel; it goes out only once they approve it. Never call a tool's own send verb (Unipile, Gmail), never create an outreach touch, a note or a task holding the message, and never use synap_capture for it. Never send. A LinkedIn message is drafted whatever their reach: the pod holds a draft to someone who is not a connection yet, shows it with the next step and lets it go out once they connect, so never hold a draft back for want of a connection. Draft it, then, in this order: (1) a person with no linkedinUrl: find their profile with linkedin_find_profile (their full name and company); on a match, propose its linkedinUrl and linkedinProviderId on the person for a person to approve; on none or several, ask the person to choose among its candidates (the process \"Find their LinkedIn\" does this for one lead). (2) Read their linkedinConnection, which only the pod writes (never set it or linkedinInvitedAt): connected, nothing more; none or not set, ask to connect with linkedin_send_invite (it refuses someone already connected or already invited: then nothing more); pending, the draft waits for them; ignored, draft by email instead when they have an email address. While the draft waits for them to connect, set the lead's nextAction to \"Wait for <name> to accept the LinkedIn request\" and its nextActionAt 7 days later. An email message needs none of this. RULES: follow the rules this process follows, in order: Voice, then By kind of lead (the first row that fits the lead; a given campaign's angle comes first). A rule shown as not available is left out: say so. For each draft, set the lead's `nextAction` to send it (e.g. \"Send the drafted message to Ana on LinkedIn\") and `nextActionAt` to today. The person reviews each proposed message in its channel, edits it if needed and approves it; the agent never sends. CADENCE: when a message is sent (a person approved its proposed message, so it is an outbound message in the channel), set its lead's lastContactedAt to the sent day, count the messages sent to the lead (the outbound messages in its channels, read with channel.resolve and feed.read: for a company lead, the channels of the person written to there), and set the lead's next action: after the first message, nextAction \"Follow up with <name> if no reply\" and nextActionAt the sent day + 3 days; after the first follow-up, nextAction \"Follow up with <name> a last time if no reply\" and nextActionAt the sent day + 7 days; after the second follow-up, nextAction \"No reply after two follow-ups: nurture or drop <name>\" and nextActionAt the sent day + 7 days, and when that date passes with no reply, \"Follow up on leads in outreach\" proposes nurturing. Never a third follow-up. Propose moving a lead at qualified to outreach through the status door, with its expected status. A reply stops the cadence: a reply is an inbound message after our last outbound one in the channel, and \"Follow up on leads in outreach\" reads it and proposes the next step.",
15446
15570
  "subjectProfile": {
15447
15571
  "profileSlug": "lead"
15448
15572
  },
@@ -15459,6 +15583,13 @@ const DATA = {
15459
15583
  }
15460
15584
  ],
15461
15585
  "executor": "is-agent",
15586
+ "tools": [
15587
+ "messaging.send",
15588
+ "channel.resolve",
15589
+ "feed.read",
15590
+ "linkedin_find_profile",
15591
+ "linkedin_send_invite"
15592
+ ],
15462
15593
  "status": "active",
15463
15594
  "guidance": [
15464
15595
  {
@@ -15544,7 +15675,7 @@ const DATA = {
15544
15675
  {
15545
15676
  "name": "Personalized Outreach",
15546
15677
  "description": "Run one outreach campaign — write the angle and its offer, pick the people, draft one personal first message each as a proposed message in their channel; a person approves the list, then approves each message, which the pod sends.",
15547
- "goalTemplate": "Run this outreach campaign ({campaign}) on {channel}; each stage moves its status. If its type is not outreach, stop and say so. PREPARE: write the target audience, the value proposition and the call to action (from the By kind of lead row that fits the audience, when one does). Pick the people to reach from the pod (and public sources when the pod has too few), resolving each one before creating anything, link each as a member of the campaign with the lead role (lead source cold-outreach when it has none), and for each draft one first message to that person in this campaign's angle. DRAFT RULES: each draft is one proposed message in the channel of the person it is written to, filed through the pod's send door: run messaging.send with to = that person's entity id (for a company lead, its decider: when that person is not in the pod, create them through the entity door with only their own fields, such as name, role and LinkedIn URL, never the company's website, domain or email), text = the message, and provider linkedin or email. Read their channel first (synap_get_channel, mode person) for what was already said. The pod files it for a person to review in that channel; it goes out only once they approve it. Never call a tool's own send verb (Unipile, Gmail), never create an outreach touch, a note or a task holding the message, and never use synap_capture for it. Never send. A LinkedIn message is drafted whatever their reach: the pod holds a draft to someone who is not a connection yet, shows it with the next step and lets it go out once they connect, so never hold a draft back for want of a connection. Draft it, then, in this order: (1) a person with no linkedinUrl: find their profile with linkedin_find_profile (their full name and company); on a match, propose its linkedinUrl and linkedinProviderId on the person for a person to approve; on none or several, ask the person to choose among its candidates (the process \"Find their LinkedIn\" does this for one lead). (2) Read their linkedinConnection, which only the pod writes (never set it or linkedinInvitedAt): connected, nothing more; none or not set, ask to connect with linkedin_send_invite (it refuses someone already connected or already invited: then nothing more); pending, the draft waits for them; ignored, draft by email instead when they have an email address. While the draft waits for them to connect, set the lead's nextAction to \"Wait for <name> to accept the LinkedIn request\" and its nextActionAt 7 days later. An email message needs none of this. RULES: follow the rules this process follows, in order: Voice, then By kind of lead (the first row that fits the lead; a given campaign's angle comes first). A rule shown as not available is left out: say so. START: a person approves the audience, the offer and the list, then reviews each proposed message in its channel and approves it; nothing goes out before they approve it, and the agent never sends. Once a message is sent, follow the cadence, so \"Follow up on leads in outreach\" drafts the next one. CADENCE: when a message is sent (a person approved its proposed message, so it is an outbound message in the channel), set its lead's lastContactedAt to the sent day, count the messages sent to the lead (the outbound messages in its channels, read with synap_get_channel mode person: for a company lead, the channels of the person written to there), and set the lead's next action: after the first message, nextAction \"Follow up with <name> if no reply\" and nextActionAt the sent day + 3 days; after the first follow-up, nextAction \"Follow up with <name> a last time if no reply\" and nextActionAt the sent day + 7 days; after the second follow-up, nextAction \"No reply after two follow-ups: nurture or drop <name>\" and nextActionAt the sent day + 7 days, and when that date passes with no reply, \"Follow up on leads in outreach\" proposes nurturing. Never a third follow-up. Propose moving a lead at qualified to outreach through the status door, with its expected status. A reply stops the cadence: a reply is an inbound message after our last outbound one in the channel, and \"Follow up on leads in outreach\" reads it and proposes the next step. FINISH: when every person written to has replied or their follow-ups ended in silence, record in the campaign notes how many messages were sent (the outbound messages in their channels), how many got a reply and how many led to a booked meeting. Pausing or cancelling is a person's call.",
15678
+ "goalTemplate": "Run this outreach campaign ({campaign}) on {channel}; each stage moves its status. If its type is not outreach, stop and say so. PREPARE: write the target audience, the value proposition and the call to action (from the By kind of lead row that fits the audience, when one does). Pick the people to reach from the pod (and public sources when the pod has too few), resolving each one before creating anything, link each as a member of the campaign with the lead role (lead source cold-outreach when it has none), and for each draft one first message to that person in this campaign's angle. DRAFT RULES: each draft is one proposed message in the channel of the person it is written to, filed through the pod's send door: run messaging.send with to = that person's entity id (for a company lead, its decider: when that person is not in the pod, create them through the entity door with only their own fields, such as name, role and LinkedIn URL, never the company's website, domain or email), text = the message, and provider linkedin or email. Read their channel first (channel.resolve, then feed.read) for what was already said. The pod files it for a person to review in that channel; it goes out only once they approve it. Never call a tool's own send verb (Unipile, Gmail), never create an outreach touch, a note or a task holding the message, and never use synap_capture for it. Never send. A LinkedIn message is drafted whatever their reach: the pod holds a draft to someone who is not a connection yet, shows it with the next step and lets it go out once they connect, so never hold a draft back for want of a connection. Draft it, then, in this order: (1) a person with no linkedinUrl: find their profile with linkedin_find_profile (their full name and company); on a match, propose its linkedinUrl and linkedinProviderId on the person for a person to approve; on none or several, ask the person to choose among its candidates (the process \"Find their LinkedIn\" does this for one lead). (2) Read their linkedinConnection, which only the pod writes (never set it or linkedinInvitedAt): connected, nothing more; none or not set, ask to connect with linkedin_send_invite (it refuses someone already connected or already invited: then nothing more); pending, the draft waits for them; ignored, draft by email instead when they have an email address. While the draft waits for them to connect, set the lead's nextAction to \"Wait for <name> to accept the LinkedIn request\" and its nextActionAt 7 days later. An email message needs none of this. RULES: follow the rules this process follows, in order: Voice, then By kind of lead (the first row that fits the lead; a given campaign's angle comes first). A rule shown as not available is left out: say so. START: a person approves the audience, the offer and the list, then reviews each proposed message in its channel and approves it; nothing goes out before they approve it, and the agent never sends. Once a message is sent, follow the cadence, so \"Follow up on leads in outreach\" drafts the next one. CADENCE: when a message is sent (a person approved its proposed message, so it is an outbound message in the channel), set its lead's lastContactedAt to the sent day, count the messages sent to the lead (the outbound messages in its channels, read with channel.resolve and feed.read: for a company lead, the channels of the person written to there), and set the lead's next action: after the first message, nextAction \"Follow up with <name> if no reply\" and nextActionAt the sent day + 3 days; after the first follow-up, nextAction \"Follow up with <name> a last time if no reply\" and nextActionAt the sent day + 7 days; after the second follow-up, nextAction \"No reply after two follow-ups: nurture or drop <name>\" and nextActionAt the sent day + 7 days, and when that date passes with no reply, \"Follow up on leads in outreach\" proposes nurturing. Never a third follow-up. Propose moving a lead at qualified to outreach through the status door, with its expected status. A reply stops the cadence: a reply is an inbound message after our last outbound one in the channel, and \"Follow up on leads in outreach\" reads it and proposes the next step. FINISH: when every person written to has replied or their follow-ups ended in silence, record in the campaign notes how many messages were sent (the outbound messages in their channels), how many got a reply and how many led to a booked meeting. Pausing or cancelling is a person's call.",
15548
15679
  "subjectProfile": {
15549
15680
  "profileSlug": "campaign"
15550
15681
  },
@@ -15590,11 +15721,13 @@ const DATA = {
15590
15721
  "label": "By kind of lead"
15591
15722
  }
15592
15723
  ],
15593
- "requiredIntents": [
15724
+ "tools": [
15594
15725
  "find_people",
15595
- "enrich_entity"
15596
- ],
15597
- "grants": [
15726
+ "enrich_entity",
15727
+ "messaging.send",
15728
+ "channel.resolve",
15729
+ "feed.read",
15730
+ "linkedin_send_invite",
15598
15731
  "entity.create"
15599
15732
  ],
15600
15733
  "expectedOutputs": [
@@ -15683,6 +15816,10 @@ const DATA = {
15683
15816
  }
15684
15817
  ],
15685
15818
  "executor": "is-agent",
15819
+ "tools": [
15820
+ "channel.resolve",
15821
+ "feed.read"
15822
+ ],
15686
15823
  "status": "active",
15687
15824
  "stages": [
15688
15825
  {
@@ -15768,7 +15905,7 @@ const DATA = {
15768
15905
  ],
15769
15906
  "executor": "is-agent",
15770
15907
  "status": "active",
15771
- "requiredIntents": [
15908
+ "tools": [
15772
15909
  "search_external"
15773
15910
  ],
15774
15911
  "stages": [
@@ -15851,10 +15988,12 @@ const DATA = {
15851
15988
  {
15852
15989
  "name": "Propose my rules from my sent messages",
15853
15990
  "description": "Propose the first rules your drafts follow, the voice (say, don't say) and what to lead with by kind of lead, from the rules your drafters held until now and the messages you sent; they stay drafts until you make them current.",
15854
- "goalTemplate": "Propose the rules the CRM drafters write by, as drafts for a person to make current. READ: the current and draft voice guides (synap_get_entities profileSlug brand-voice-guide) and By kind of lead rows (profileSlug outreach-angle), the audiences and offers, and the messages already sent: for the leads with a lastContactedAt, newest first, at most 20, their channels (synap_get_channel, mode person) and the outbound messages they show. SEED: the drafters' rules until now, word for word: \"Its message is personal: it cites the buying signal and what it showed, or a past exchange, never a generic template; short; in the person's language, French by default, and in French it says vous. It offers one useful next step, never pressure.\" VOICE: one voice guide, context outreach, status draft, in the Brand Library space: its Do lines (what to say) and Don't lines (what never to say), one per line, start from the seed and add only what at least two sent messages show; Source IDs lists the messages' channel or entity ids. BY KIND OF LEAD: one row per kind of lead the sent messages show, status draft: If the lead (the condition in words), its audience and offer when one fits, Lead with, Offer, Proof, Avoid, Tone, Channel and an order, the most specific first; end with an \"Anything else\" row with the highest order. Never invent a proof: leave it empty and say so. When a current version exists, the draft is a new record that revises it (a revises edge to it) and says what changed; never edit or retire a current one. DRAFTS ONLY: never set a voice guide to approved or deprecated, nor a row to current or retired; a person does, on the Brand and communication page. With fewer than three sent messages, propose the voice from the seed alone and one \"Anything else\" row, and say so. FINISH: list each draft with the messages it came from.",
15991
+ "goalTemplate": "Propose the rules the CRM drafters write by, as drafts for a person to make current. READ: the current and draft voice guides (synap_get_entities profileSlug brand-voice-guide) and By kind of lead rows (profileSlug outreach-angle), the audiences and offers, and the messages already sent: for the leads with a lastContactedAt, newest first, at most 20, their channels (channel.resolve, then feed.read) and the outbound messages they show. SEED: the drafters' rules until now, word for word: \"Its message is personal: it cites the buying signal and what it showed, or a past exchange, never a generic template; short; in the person's language, French by default, and in French it says vous. It offers one useful next step, never pressure.\" VOICE: one voice guide, context outreach, status draft, in the Brand Library space: its Do lines (what to say) and Don't lines (what never to say), one per line, start from the seed and add only what at least two sent messages show; Source IDs lists the messages' channel or entity ids. BY KIND OF LEAD: one row per kind of lead the sent messages show, status draft: If the lead (the condition in words), its audience and offer when one fits, Lead with, Offer, Proof, Avoid, Tone, Channel and an order, the most specific first; end with an \"Anything else\" row with the highest order. Never invent a proof: leave it empty and say so. When a current version exists, the draft is a new record that revises it (a revises edge to it) and says what changed; never edit or retire a current one. DRAFTS ONLY: never set a voice guide to approved or deprecated, nor a row to current or retired; a person does, on the Brand and communication page. With fewer than three sent messages, propose the voice from the seed alone and one \"Anything else\" row, and say so. FINISH: list each draft with the messages it came from.",
15855
15992
  "executor": "is-agent",
15856
15993
  "status": "active",
15857
- "grants": [
15994
+ "tools": [
15995
+ "channel.resolve",
15996
+ "feed.read",
15858
15997
  "entity.create"
15859
15998
  ],
15860
15999
  "expectedOutputs": [
@@ -16527,7 +16666,8 @@ const DATA = {
16527
16666
  "cron": "0 9 * * 1",
16528
16667
  "enabled": false
16529
16668
  },
16530
- "grants": [
16669
+ "tools": [
16670
+ "update_entity",
16531
16671
  "exa_search",
16532
16672
  "apify_run_actor",
16533
16673
  "entity.create"
@@ -16551,7 +16691,7 @@ const DATA = {
16551
16691
  }
16552
16692
  ],
16553
16693
  "executor": "is-agent",
16554
- "grants": [
16694
+ "tools": [
16555
16695
  "exa_search",
16556
16696
  "entity.create"
16557
16697
  ],
@@ -17729,7 +17869,7 @@ const DATA = {
17729
17869
  ],
17730
17870
  "executor": "is-agent",
17731
17871
  "status": "active",
17732
- "requiredIntents": [
17872
+ "tools": [
17733
17873
  "fetch_record",
17734
17874
  "list_records",
17735
17875
  "send_message"
@@ -17854,7 +17994,9 @@ const DATA = {
17854
17994
  "forceProposeWrites": true
17855
17995
  }
17856
17996
  },
17857
- "requiredIntents": [
17997
+ "tools": [
17998
+ "create_entity",
17999
+ "create_relation",
17858
18000
  "list_records"
17859
18001
  ],
17860
18002
  "expectedOutputs": [
@@ -17943,7 +18085,7 @@ const DATA = {
17943
18085
  {
17944
18086
  "name": "Close the month",
17945
18087
  "description": "Once a month, reconcile the accounts, chase what is owed, and record runway, burn and revenue for a person to review.",
17946
- "goalTemplate": "Close the month. RECONCILE: compare each account's balance with the bank or payment provider and list every difference; when an account has no bank or payment-provider connection, ask the person to `provide` it (a connection, never a password in a form). RECEIVABLES: list unpaid and overdue invoices and propose a reminder for each overdue one. PAYABLES: list expenses still pending or approved but unpaid. METRICS: record this month's cash in bank, net burn, runway in months and monthly recurring revenue as financial metrics, each with its as-of date and how it was computed. REVIEW: write a one-page month-end note for a person — what changed, what is at risk, what to decide — and wait for their approval before closing.",
18088
+ "goalTemplate": "Close the month. RECONCILE: compare each account's balance with the bank or payment provider and list every difference, and every account with no bank or payment-provider connection. Stop there: the pod asks the person whether to go on or to connect those accounts first (a connection, never a password in a form) and wakes you with their answer; when they connected them, reconcile those accounts again. RECEIVABLES: list unpaid and overdue invoices and propose a reminder for each overdue one. PAYABLES: list expenses still pending or approved but unpaid. METRICS: record this month's cash in bank, net burn, runway in months and monthly recurring revenue as financial metrics, each with its as-of date and how it was computed. REVIEW: write a one-page month-end note for a person — what changed, what is at risk, what to decide — and wait for their approval before closing.",
17947
18089
  "executor": "is-agent",
17948
18090
  "status": "active",
17949
18091
  "schedule": {
@@ -17951,7 +18093,7 @@ const DATA = {
17951
18093
  "enabled": false,
17952
18094
  "mode": "appointment"
17953
18095
  },
17954
- "requiredIntents": [
18096
+ "tools": [
17955
18097
  "fetch_record",
17956
18098
  "list_records"
17957
18099
  ],
@@ -17972,7 +18114,7 @@ const DATA = {
17972
18114
  "key": "reconcile",
17973
18115
  "name": "Reconcile",
17974
18116
  "category": "started",
17975
- "goal": "Compare every account with the bank or payment provider and list differences.",
18117
+ "goal": "Compare every account with the bank or payment provider and list differences, and every account with no connection.",
17976
18118
  "criteria": [
17977
18119
  {
17978
18120
  "key": "accounts-reconciled",
@@ -17981,7 +18123,28 @@ const DATA = {
17981
18123
  "kind": "judge"
17982
18124
  }
17983
18125
  }
17984
- ]
18126
+ ],
18127
+ "endAsk": {
18128
+ "label": "Unconnected accounts",
18129
+ "why": "The reconciliation above lists every difference and every account with no bank or payment-provider connection.",
18130
+ "unblocks": "The run goes on with the close",
18131
+ "ask": {
18132
+ "mode": "choose",
18133
+ "options": [
18134
+ {
18135
+ "label": "Go on with the close",
18136
+ "value": "continue",
18137
+ "recommended": true,
18138
+ "description": "Unconnected accounts stay listed in the month-end note"
18139
+ },
18140
+ {
18141
+ "label": "I connected them: reconcile again",
18142
+ "value": "reconcile_again",
18143
+ "description": "The run reconciles the newly connected accounts first"
18144
+ }
18145
+ ]
18146
+ }
18147
+ }
17985
18148
  },
17986
18149
  {
17987
18150
  "key": "receivables",
@@ -26688,7 +26851,7 @@ const DATA = {
26688
26851
  ],
26689
26852
  "executor": "is-agent",
26690
26853
  "status": "active",
26691
- "requiredIntents": [
26854
+ "tools": [
26692
26855
  "publish_post",
26693
26856
  "send_message",
26694
26857
  "list_records"
@@ -27083,7 +27246,9 @@ const DATA = {
27083
27246
  }
27084
27247
  ],
27085
27248
  "executor": "is-agent",
27086
- "grants": [
27249
+ "tools": [
27250
+ "update_entity",
27251
+ "resolve_identity",
27087
27252
  "fireflies_import_last_meeting",
27088
27253
  "fireflies_search",
27089
27254
  "calendar_list",
@@ -29088,7 +29253,7 @@ const DATA = {
29088
29253
  {
29089
29254
  "name": "Deliver a client engagement",
29090
29255
  "description": "Run one client engagement from kick-off to close — scope, contract, deliverables, final review and the closing invoice — with a person approving the start and the close.",
29091
- "goalTemplate": "Run this client engagement ({engagement}); each stage moves its status. KICK-OFF: read the won deal, the proposal and every message with the client; write the scope, owner, start and end dates and value on the engagement; create one deliverable per promised output (each with a due date and an owner); reuse the draft contract already linked to the engagement (the daily client pick-up opens one), and create a draft contract only when none is linked. START: a person confirms the contract is signed and the work may start. DELIVER: track every deliverable to accepted (or cancelled by a person), post a short weekly status in this session's room, and flag any deliverable past its due date. CLOSE: once every deliverable is accepted or cancelled, write the closing review (what was delivered, what slipped, what the client said), create the closing invoice in Finance at the draft status for the engagement value still owed (when the engagement bills per deliverable, subtract every milestone invoice already created for it), and propose the renewal or next engagement. A person approves the close. Pausing or cancelling an engagement is a person's call.",
29256
+ "goalTemplate": "Run this client engagement ({engagement}); each stage moves its status. KICK-OFF: read the won deal, the proposal and every message with the client; write the scope, owner, start and end dates and value on the engagement; create one deliverable per promised output (each with a due date and an owner); reuse the draft contract already linked to the engagement (the daily client pick-up opens one), and create a draft contract only when none is linked. START: a person confirms the contract is signed and the work may start. DELIVER: track every deliverable to accepted (or cancelled by a person), flag any deliverable past its due date, and end with your answer: a short status of what moved and what is late. CLOSE: once every deliverable is accepted or cancelled, write the closing review (what was delivered, what slipped, what the client said), create the closing invoice in Finance at the draft status for the engagement value still owed (when the engagement bills per deliverable, subtract every milestone invoice already created for it), and propose the renewal or next engagement. A person approves the close. Pausing or cancelling an engagement is a person's call.",
29092
29257
  "subjectProfile": {
29093
29258
  "profileSlug": "engagement"
29094
29259
  },
@@ -29108,7 +29273,7 @@ const DATA = {
29108
29273
  ],
29109
29274
  "executor": "is-agent",
29110
29275
  "status": "active",
29111
- "requiredIntents": [
29276
+ "tools": [
29112
29277
  "list_records",
29113
29278
  "send_message"
29114
29279
  ],
@@ -29186,7 +29351,7 @@ const DATA = {
29186
29351
  "key": "deliver",
29187
29352
  "name": "Deliver",
29188
29353
  "category": "started",
29189
- "goal": "Track every deliverable to accepted or cancelled and post a weekly status in the room.",
29354
+ "goal": "Track every deliverable to accepted or cancelled, and end with a short status of what moved and what is late as your answer.",
29190
29355
  "indefinite": true,
29191
29356
  "criteria": [
29192
29357
  {
@@ -29198,7 +29363,7 @@ const DATA = {
29198
29363
  },
29199
29364
  {
29200
29365
  "key": "deliver-weekly-status",
29201
- "statement": "A status was posted in the room for every week the engagement was active.",
29366
+ "statement": "Each turn of this stage ended with a short status of what moved and what is late.",
29202
29367
  "check": {
29203
29368
  "kind": "judge"
29204
29369
  }
@@ -29353,7 +29518,7 @@ const DATA = {
29353
29518
  {
29354
29519
  "name": "Get a contract signed",
29355
29520
  "description": "Take a client contract from draft to signed and active, with a person approving what is sent and confirming the signature.",
29356
- "goalTemplate": "Get this contract ({contract}) signed; each stage moves its status. DRAFT: fill the contract from the engagement's scope, value, dates and the agency's standard terms, and list every term that differs from the standard. SEND: a person approves the contract before it goes to the client. SIGNED: ask the person to `provide` the signed file; their approval confirms both sides signed. ACTIVE: set the start and end dates and link the signed document. Expiry and termination are a person's call.",
29521
+ "goalTemplate": "Get this contract ({contract}) signed; each stage moves its status. DRAFT: fill the contract from the engagement's scope, value, dates and the agency's standard terms, and list every term that differs from the standard. SEND: a person approves the contract before it goes to the client; once it went, the pod asks the person for the signed file and wakes you with it. SIGNED: link the signed file on the contract; the person's approval confirms both sides signed. ACTIVE: set the start and end dates and link the signed document. Expiry and termination are a person's call.",
29357
29522
  "subjectProfile": {
29358
29523
  "profileSlug": "contract"
29359
29524
  },
@@ -29414,6 +29579,21 @@ const DATA = {
29414
29579
  },
29415
29580
  "onFail": {
29416
29581
  "toStage": "draft"
29582
+ },
29583
+ "endAsk": {
29584
+ "label": "Signed contract file",
29585
+ "why": "The contract went to the client for signature.",
29586
+ "unblocks": "The run links the signed file on the contract",
29587
+ "ask": {
29588
+ "mode": "provide",
29589
+ "provide": {
29590
+ "kind": "file",
29591
+ "accept": [
29592
+ ".pdf",
29593
+ "image/*"
29594
+ ]
29595
+ }
29596
+ }
29417
29597
  }
29418
29598
  },
29419
29599
  {
@@ -29421,7 +29601,7 @@ const DATA = {
29421
29601
  "name": "Signed",
29422
29602
  "category": "started",
29423
29603
  "subjectStatus": "signed",
29424
- "goal": "Ask the person to provide the signed file; their approval confirms both sides signed.",
29604
+ "goal": "Link the signed file the person provided on the contract; their approval confirms both sides signed.",
29425
29605
  "gate": {
29426
29606
  "kind": "human"
29427
29607
  },
@@ -31310,7 +31490,8 @@ const DATA = {
31310
31490
  }
31311
31491
  ],
31312
31492
  "executor": "is-agent",
31313
- "grants": [
31493
+ "tools": [
31494
+ "search_external",
31314
31495
  "source-triage",
31315
31496
  "evidence-synthesis",
31316
31497
  "concept-cartography",
@@ -31318,9 +31499,6 @@ const DATA = {
31318
31499
  "entity.create"
31319
31500
  ],
31320
31501
  "status": "active",
31321
- "requiredIntents": [
31322
- "search_external"
31323
- ],
31324
31502
  "expectedOutputs": [
31325
31503
  {
31326
31504
  "kind": "research",
@@ -31426,6 +31604,10 @@ const DATA = {
31426
31604
  }
31427
31605
  ],
31428
31606
  "executor": "is-agent",
31607
+ "tools": [
31608
+ "create_entity",
31609
+ "create_relation"
31610
+ ],
31429
31611
  "status": "active",
31430
31612
  "expectedOutputs": [
31431
31613
  {
@@ -31811,7 +31993,8 @@ const DATA = {
31811
31993
  }
31812
31994
  ],
31813
31995
  "executor": "is-agent",
31814
- "grants": [
31996
+ "tools": [
31997
+ "create_relation",
31815
31998
  "ibis-decision-analysis",
31816
31999
  "source-triage",
31817
32000
  "exa_search",