@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/dist/index.js CHANGED
@@ -167,6 +167,12 @@ var DATA = {
167
167
  }
168
168
  ],
169
169
  "executor": "is-agent",
170
+ "tools": [
171
+ "resolve_identity",
172
+ "create_entity",
173
+ "attach_facet",
174
+ "create_relation"
175
+ ],
170
176
  "status": "active",
171
177
  "expectedOutputs": [
172
178
  {
@@ -179,7 +185,7 @@ var DATA = {
179
185
  {
180
186
  "name": "Weekly review",
181
187
  "description": "Once a week, empty the inbox, check every open deal, engagement and invoice, and choose next week's priorities with a person.",
182
- "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 \u2014 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.",
188
+ "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 \u2014 each with the one action that would move it \u2014 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.",
183
189
  "executor": "is-agent",
184
190
  "status": "active",
185
191
  "schedule": {
@@ -211,7 +217,7 @@ var DATA = {
211
217
  "key": "review",
212
218
  "name": "Review",
213
219
  "category": "started",
214
- "goal": "List stuck deals, late deliverables, overdue invoices, unreported campaigns and pending expenses, each with one action.",
220
+ "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.",
215
221
  "criteria": [
216
222
  {
217
223
  "key": "review-every-area",
@@ -220,13 +226,34 @@ var DATA = {
220
226
  "kind": "judge"
221
227
  }
222
228
  }
223
- ]
229
+ ],
230
+ "endAsk": {
231
+ "label": "Next week's priorities",
232
+ "why": "The review above ends with the three priorities the run recommends for next week.",
233
+ "unblocks": "The run creates a task for each priority",
234
+ "ask": {
235
+ "mode": "choose",
236
+ "options": [
237
+ {
238
+ "label": "The three recommended",
239
+ "value": "recommended",
240
+ "recommended": true,
241
+ "description": "A task is created for each"
242
+ },
243
+ {
244
+ "label": "No new priorities this week",
245
+ "value": "none",
246
+ "description": "Nothing is created"
247
+ }
248
+ ]
249
+ }
250
+ }
224
251
  },
225
252
  {
226
253
  "key": "plan",
227
254
  "name": "Plan",
228
255
  "category": "completed",
229
- "goal": "Ask the person to choose next week's three priorities, your recommendation first; create a task for each."
256
+ "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."
230
257
  }
231
258
  ]
232
259
  }
@@ -3359,7 +3386,7 @@ var DATA = {
3359
3386
  {
3360
3387
  "name": "Make a brand asset",
3361
3388
  "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.",
3362
- "goalTemplate": "Make this brand asset ({asset}); each stage moves its status. DRAFT: read the request and the approved brand only \u2014 approved colours, fonts, references and the active token set; never a draft \u2014 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.",
3389
+ "goalTemplate": "Make this brand asset ({asset}); each stage moves its status. DRAFT: read the request and the approved brand only \u2014 approved colours, fonts, references and the active token set; never a draft \u2014 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.",
3363
3390
  "subjectProfile": {
3364
3391
  "profileSlug": "brand-asset"
3365
3392
  },
@@ -3373,7 +3400,7 @@ var DATA = {
3373
3400
  ],
3374
3401
  "executor": "is-agent",
3375
3402
  "status": "active",
3376
- "requiredIntents": [
3403
+ "tools": [
3377
3404
  "generate_media"
3378
3405
  ],
3379
3406
  "expectedOutputs": [
@@ -3405,14 +3432,32 @@ var DATA = {
3405
3432
  "kind": "judge"
3406
3433
  }
3407
3434
  }
3408
- ]
3435
+ ],
3436
+ "endAsk": {
3437
+ "label": "Variant to keep",
3438
+ "why": "The run made several variants of this asset.",
3439
+ "unblocks": "The variant you keep goes to approval",
3440
+ "ask": {
3441
+ "mode": "choose",
3442
+ "options": [
3443
+ {
3444
+ "label": "None of them: draft again",
3445
+ "value": "redo",
3446
+ "description": "The run makes new variants"
3447
+ }
3448
+ ]
3449
+ },
3450
+ "optionsFrom": {
3451
+ "relation": "derived_from"
3452
+ }
3453
+ }
3409
3454
  },
3410
3455
  {
3411
3456
  "key": "approve",
3412
3457
  "name": "Approve",
3413
3458
  "category": "completed",
3414
3459
  "subjectStatus": "approved",
3415
- "goal": "A person approves one draft as final; with variants, they choose one, recommended first.",
3460
+ "goal": "A person approves one draft as final; with variants, the one they kept.",
3416
3461
  "gate": {
3417
3462
  "kind": "human"
3418
3463
  },
@@ -6818,6 +6863,9 @@ var DATA = {
6818
6863
  }
6819
6864
  ],
6820
6865
  "executor": "is-agent",
6866
+ "tools": [
6867
+ "github_pr_checks"
6868
+ ],
6821
6869
  "status": "active",
6822
6870
  "stages": [
6823
6871
  {
@@ -7025,6 +7073,10 @@ var DATA = {
7025
7073
  }
7026
7074
  ],
7027
7075
  "executor": "is-agent",
7076
+ "tools": [
7077
+ "create_entity",
7078
+ "create_relation"
7079
+ ],
7028
7080
  "status": "active",
7029
7081
  "criteria": [
7030
7082
  {
@@ -7046,7 +7098,7 @@ var DATA = {
7046
7098
  {
7047
7099
  "name": "Build a change",
7048
7100
  "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.",
7049
- "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.',
7101
+ "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.',
7050
7102
  "scope": "session",
7051
7103
  "subjectProfile": {
7052
7104
  "profileSlug": "devplane_feature"
@@ -7270,7 +7322,7 @@ var DATA = {
7270
7322
  },
7271
7323
  {
7272
7324
  "key": "verify",
7273
- "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.",
7325
+ "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.",
7274
7326
  "name": "Criteria verified",
7275
7327
  "category": "completed",
7276
7328
  "criteria": [
@@ -7290,7 +7342,7 @@ var DATA = {
7290
7342
  {
7291
7343
  "name": "Fix a bug",
7292
7344
  "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.",
7293
- "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.',
7345
+ "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.',
7294
7346
  "scope": "session",
7295
7347
  "subjectProfile": {
7296
7348
  "profileSlug": "issue"
@@ -7535,7 +7587,7 @@ var DATA = {
7535
7587
  },
7536
7588
  {
7537
7589
  "key": "verify",
7538
- "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.",
7590
+ "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.",
7539
7591
  "name": "Criteria verified",
7540
7592
  "category": "completed",
7541
7593
  "criteria": [
@@ -7661,6 +7713,9 @@ var DATA = {
7661
7713
  }
7662
7714
  ],
7663
7715
  "executor": "is-agent",
7716
+ "tools": [
7717
+ "create_document"
7718
+ ],
7664
7719
  "status": "draft",
7665
7720
  "stages": [
7666
7721
  {
@@ -7707,7 +7762,7 @@ var DATA = {
7707
7762
  {
7708
7763
  "name": "Maintain",
7709
7764
  "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.",
7710
- "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.",
7765
+ "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.",
7711
7766
  "scope": "session",
7712
7767
  "subjectProfile": {
7713
7768
  "profileSlug": "task"
@@ -7886,7 +7941,7 @@ var DATA = {
7886
7941
  },
7887
7942
  {
7888
7943
  "key": "verify",
7889
- "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.",
7944
+ "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.",
7890
7945
  "name": "Criteria verified",
7891
7946
  "category": "completed",
7892
7947
  "criteria": [
@@ -7905,7 +7960,7 @@ var DATA = {
7905
7960
  {
7906
7961
  "name": "Fix main red",
7907
7962
  "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.',
7908
- "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.',
7963
+ "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.',
7909
7964
  "scope": "session",
7910
7965
  "params": [
7911
7966
  {
@@ -8118,7 +8173,7 @@ var DATA = {
8118
8173
  },
8119
8174
  {
8120
8175
  "key": "verify",
8121
- "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.",
8176
+ "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.",
8122
8177
  "name": "Criteria verified",
8123
8178
  "category": "completed",
8124
8179
  "criteria": [
@@ -12238,8 +12293,10 @@ var DATA = {
12238
12293
  ],
12239
12294
  "executor": "is-agent",
12240
12295
  "status": "active",
12241
- "requiredIntents": [
12242
- "publish_post"
12296
+ "tools": [
12297
+ "publish_post",
12298
+ "generate_media",
12299
+ "edit_video"
12243
12300
  ],
12244
12301
  "inputStrategy": {
12245
12302
  "kind": "pinned",
@@ -12591,6 +12648,10 @@ var DATA = {
12591
12648
  }
12592
12649
  ],
12593
12650
  "executor": "is-agent",
12651
+ "tools": [
12652
+ "create_entity",
12653
+ "update_entities"
12654
+ ],
12594
12655
  "status": "active"
12595
12656
  },
12596
12657
  {
@@ -12605,20 +12666,44 @@ var DATA = {
12605
12666
  }
12606
12667
  ],
12607
12668
  "executor": "is-agent",
12669
+ "tools": [
12670
+ "propose_entity_graph",
12671
+ "update_entity"
12672
+ ],
12608
12673
  "status": "active"
12609
12674
  },
12610
12675
  {
12611
12676
  "name": "Write the caption",
12612
- "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.",
12613
- "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.`,
12677
+ "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.",
12678
+ "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 "##".`,
12614
12679
  "subjectProfile": {
12615
12680
  "profileSlug": "post"
12616
12681
  },
12682
+ "guidance": [
12683
+ {
12684
+ "ref": "kind:brand-voice-guide",
12685
+ "label": "Voice",
12686
+ "where": {
12687
+ "voice-context": [
12688
+ "general",
12689
+ "social"
12690
+ ]
12691
+ }
12692
+ }
12693
+ ],
12617
12694
  "expectedOutputs": [
12618
12695
  {
12619
12696
  "kind": "document",
12620
12697
  "label": "Caption draft",
12621
- "relationToSubject": "none"
12698
+ "relationToSubject": "none",
12699
+ "lands": {
12700
+ "target": "subject_document_section",
12701
+ "section": "Caption draft",
12702
+ "examples": {
12703
+ "approved": 3,
12704
+ "rejected": 3
12705
+ }
12706
+ }
12622
12707
  }
12623
12708
  ],
12624
12709
  "params": [
@@ -12629,7 +12714,7 @@ var DATA = {
12629
12714
  "required": true
12630
12715
  }
12631
12716
  ],
12632
- "executor": "is-agent",
12717
+ "executor": "generate",
12633
12718
  "status": "active"
12634
12719
  },
12635
12720
  {
@@ -12666,6 +12751,10 @@ var DATA = {
12666
12751
  }
12667
12752
  ],
12668
12753
  "executor": "is-agent",
12754
+ "tools": [
12755
+ "create_entity",
12756
+ "create_relation"
12757
+ ],
12669
12758
  "status": "active"
12670
12759
  },
12671
12760
  {
@@ -14660,7 +14749,8 @@ var DATA = {
14660
14749
  }
14661
14750
  ],
14662
14751
  "executor": "is-agent",
14663
- "grants": [
14752
+ "tools": [
14753
+ "update_entity",
14664
14754
  "apify_run_actor",
14665
14755
  "entity.create"
14666
14756
  ],
@@ -14669,7 +14759,7 @@ var DATA = {
14669
14759
  {
14670
14760
  "name": "Qualify a lead",
14671
14761
  "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.',
14672
- "goalTemplate": 'Qualify this lead ({lead}). RESEARCH: verify and enrich only facts you can support \u2014 company, role, size, recent signal \u2014 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.',
14762
+ "goalTemplate": 'Qualify this lead ({lead}). RESEARCH: verify and enrich only facts you can support \u2014 company, role, size, recent signal \u2014 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.',
14673
14763
  "subjectProfile": {
14674
14764
  "profileSlug": "lead"
14675
14765
  },
@@ -14689,7 +14779,7 @@ var DATA = {
14689
14779
  ],
14690
14780
  "executor": "is-agent",
14691
14781
  "status": "active",
14692
- "requiredIntents": [
14782
+ "tools": [
14693
14783
  "enrich_entity",
14694
14784
  "search_external"
14695
14785
  ],
@@ -14714,7 +14804,7 @@ var DATA = {
14714
14804
  "key": "score",
14715
14805
  "name": "Score",
14716
14806
  "category": "started",
14717
- "goal": "Set the ICP score, qualification notes and outreach channels, and the recommended step as the lead's nextAction and nextActionAt.",
14807
+ "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.",
14718
14808
  "criteria": [
14719
14809
  {
14720
14810
  "key": "lead-score-set",
@@ -14730,13 +14820,38 @@ var DATA = {
14730
14820
  "kind": "judge"
14731
14821
  }
14732
14822
  }
14733
- ]
14823
+ ],
14824
+ "endAsk": {
14825
+ "label": "Pursue, nurture or drop",
14826
+ "why": "The lead is researched and scored; its qualification notes say which the run recommends.",
14827
+ "unblocks": "The run sets the lead from your answer",
14828
+ "ask": {
14829
+ "mode": "choose",
14830
+ "options": [
14831
+ {
14832
+ "label": "Pursue",
14833
+ "value": "pursue",
14834
+ "description": "Qualified, with booking a meeting as its next action"
14835
+ },
14836
+ {
14837
+ "label": "Nurture",
14838
+ "value": "nurture",
14839
+ "description": "The run sets a date to check in again"
14840
+ },
14841
+ {
14842
+ "label": "Drop",
14843
+ "value": "drop",
14844
+ "description": "Disqualified once you approve the move"
14845
+ }
14846
+ ]
14847
+ }
14848
+ }
14734
14849
  },
14735
14850
  {
14736
14851
  "key": "decide",
14737
14852
  "name": "Decide",
14738
14853
  "category": "started",
14739
- "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.",
14854
+ "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.",
14740
14855
  "criteria": [
14741
14856
  {
14742
14857
  "key": "lead-decision-chosen",
@@ -14786,7 +14901,9 @@ var DATA = {
14786
14901
  }
14787
14902
  },
14788
14903
  "executor": "is-agent",
14789
- "grants": [
14904
+ "tools": [
14905
+ "update_entity",
14906
+ "enrich_entity",
14790
14907
  "apify_run_actor"
14791
14908
  ],
14792
14909
  "status": "active"
@@ -14814,10 +14931,11 @@ var DATA = {
14814
14931
  ],
14815
14932
  "executor": "is-agent",
14816
14933
  "status": "active",
14817
- "requiredIntents": [
14934
+ "tools": [
14818
14935
  "enrich_entity",
14819
14936
  "search_external",
14820
- "list_records"
14937
+ "list_records",
14938
+ "send_message"
14821
14939
  ],
14822
14940
  "expectedOutputs": [
14823
14941
  {
@@ -15019,7 +15137,7 @@ var DATA = {
15019
15137
  ],
15020
15138
  "executor": "is-agent",
15021
15139
  "status": "active",
15022
- "requiredIntents": [
15140
+ "tools": [
15023
15141
  "search_external"
15024
15142
  ],
15025
15143
  "stages": [
@@ -15126,7 +15244,7 @@ var DATA = {
15126
15244
  ],
15127
15245
  "executor": "is-agent",
15128
15246
  "status": "active",
15129
- "requiredIntents": [
15247
+ "tools": [
15130
15248
  "search_external"
15131
15249
  ],
15132
15250
  "stages": [
@@ -15208,7 +15326,7 @@ var DATA = {
15208
15326
  {
15209
15327
  "name": "Draft a first message",
15210
15328
  "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.",
15211
- "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.`,
15329
+ "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.`,
15212
15330
  "subjectProfile": {
15213
15331
  "profileSlug": "lead"
15214
15332
  },
@@ -15259,7 +15377,12 @@ var DATA = {
15259
15377
  "label": "By kind of lead"
15260
15378
  }
15261
15379
  ],
15262
- "grants": [
15380
+ "tools": [
15381
+ "messaging.send",
15382
+ "channel.resolve",
15383
+ "feed.read",
15384
+ "linkedin_find_profile",
15385
+ "linkedin_send_invite",
15263
15386
  "entity.create"
15264
15387
  ],
15265
15388
  "stages": [
@@ -15350,8 +15473,9 @@ var DATA = {
15350
15473
  ],
15351
15474
  "executor": "is-agent",
15352
15475
  "status": "active",
15353
- "requiredIntents": [
15354
- "enrich_entity"
15476
+ "tools": [
15477
+ "enrich_entity",
15478
+ "unipile_list_accounts"
15355
15479
  ],
15356
15480
  "stages": [
15357
15481
  {
@@ -15418,11 +15542,11 @@ var DATA = {
15418
15542
  ],
15419
15543
  "executor": "is-agent",
15420
15544
  "status": "active",
15421
- "requiredIntents": [
15545
+ "tools": [
15422
15546
  "find_people",
15423
- "enrich_entity"
15424
- ],
15425
- "grants": [
15547
+ "enrich_entity",
15548
+ "web.read",
15549
+ "unipile_list_accounts",
15426
15550
  "entity.create"
15427
15551
  ],
15428
15552
  "stages": [
@@ -15519,7 +15643,7 @@ var DATA = {
15519
15643
  {
15520
15644
  "name": "Follow up on leads in outreach",
15521
15645
  "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.",
15522
- "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.`,
15646
+ "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.`,
15523
15647
  "subjectProfile": {
15524
15648
  "profileSlug": "lead"
15525
15649
  },
@@ -15536,6 +15660,13 @@ var DATA = {
15536
15660
  }
15537
15661
  ],
15538
15662
  "executor": "is-agent",
15663
+ "tools": [
15664
+ "messaging.send",
15665
+ "channel.resolve",
15666
+ "feed.read",
15667
+ "linkedin_find_profile",
15668
+ "linkedin_send_invite"
15669
+ ],
15539
15670
  "status": "active",
15540
15671
  "guidance": [
15541
15672
  {
@@ -15621,7 +15752,7 @@ var DATA = {
15621
15752
  {
15622
15753
  "name": "Personalized Outreach",
15623
15754
  "description": "Run one outreach campaign \u2014 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.",
15624
- "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.`,
15755
+ "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.`,
15625
15756
  "subjectProfile": {
15626
15757
  "profileSlug": "campaign"
15627
15758
  },
@@ -15667,11 +15798,13 @@ var DATA = {
15667
15798
  "label": "By kind of lead"
15668
15799
  }
15669
15800
  ],
15670
- "requiredIntents": [
15801
+ "tools": [
15671
15802
  "find_people",
15672
- "enrich_entity"
15673
- ],
15674
- "grants": [
15803
+ "enrich_entity",
15804
+ "messaging.send",
15805
+ "channel.resolve",
15806
+ "feed.read",
15807
+ "linkedin_send_invite",
15675
15808
  "entity.create"
15676
15809
  ],
15677
15810
  "expectedOutputs": [
@@ -15760,6 +15893,10 @@ var DATA = {
15760
15893
  }
15761
15894
  ],
15762
15895
  "executor": "is-agent",
15896
+ "tools": [
15897
+ "channel.resolve",
15898
+ "feed.read"
15899
+ ],
15763
15900
  "status": "active",
15764
15901
  "stages": [
15765
15902
  {
@@ -15845,7 +15982,7 @@ var DATA = {
15845
15982
  ],
15846
15983
  "executor": "is-agent",
15847
15984
  "status": "active",
15848
- "requiredIntents": [
15985
+ "tools": [
15849
15986
  "search_external"
15850
15987
  ],
15851
15988
  "stages": [
@@ -15928,10 +16065,12 @@ var DATA = {
15928
16065
  {
15929
16066
  "name": "Propose my rules from my sent messages",
15930
16067
  "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.",
15931
- "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.`,
16068
+ "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.`,
15932
16069
  "executor": "is-agent",
15933
16070
  "status": "active",
15934
- "grants": [
16071
+ "tools": [
16072
+ "channel.resolve",
16073
+ "feed.read",
15935
16074
  "entity.create"
15936
16075
  ],
15937
16076
  "expectedOutputs": [
@@ -16604,7 +16743,8 @@ var DATA = {
16604
16743
  "cron": "0 9 * * 1",
16605
16744
  "enabled": false
16606
16745
  },
16607
- "grants": [
16746
+ "tools": [
16747
+ "update_entity",
16608
16748
  "exa_search",
16609
16749
  "apify_run_actor",
16610
16750
  "entity.create"
@@ -16628,7 +16768,7 @@ var DATA = {
16628
16768
  }
16629
16769
  ],
16630
16770
  "executor": "is-agent",
16631
- "grants": [
16771
+ "tools": [
16632
16772
  "exa_search",
16633
16773
  "entity.create"
16634
16774
  ],
@@ -17808,7 +17948,7 @@ var DATA = {
17808
17948
  ],
17809
17949
  "executor": "is-agent",
17810
17950
  "status": "active",
17811
- "requiredIntents": [
17951
+ "tools": [
17812
17952
  "fetch_record",
17813
17953
  "list_records",
17814
17954
  "send_message"
@@ -17933,7 +18073,9 @@ var DATA = {
17933
18073
  "forceProposeWrites": true
17934
18074
  }
17935
18075
  },
17936
- "requiredIntents": [
18076
+ "tools": [
18077
+ "create_entity",
18078
+ "create_relation",
17937
18079
  "list_records"
17938
18080
  ],
17939
18081
  "expectedOutputs": [
@@ -18022,7 +18164,7 @@ var DATA = {
18022
18164
  {
18023
18165
  "name": "Close the month",
18024
18166
  "description": "Once a month, reconcile the accounts, chase what is owed, and record runway, burn and revenue for a person to review.",
18025
- "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 \u2014 what changed, what is at risk, what to decide \u2014 and wait for their approval before closing.",
18167
+ "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 \u2014 what changed, what is at risk, what to decide \u2014 and wait for their approval before closing.",
18026
18168
  "executor": "is-agent",
18027
18169
  "status": "active",
18028
18170
  "schedule": {
@@ -18030,7 +18172,7 @@ var DATA = {
18030
18172
  "enabled": false,
18031
18173
  "mode": "appointment"
18032
18174
  },
18033
- "requiredIntents": [
18175
+ "tools": [
18034
18176
  "fetch_record",
18035
18177
  "list_records"
18036
18178
  ],
@@ -18051,7 +18193,7 @@ var DATA = {
18051
18193
  "key": "reconcile",
18052
18194
  "name": "Reconcile",
18053
18195
  "category": "started",
18054
- "goal": "Compare every account with the bank or payment provider and list differences.",
18196
+ "goal": "Compare every account with the bank or payment provider and list differences, and every account with no connection.",
18055
18197
  "criteria": [
18056
18198
  {
18057
18199
  "key": "accounts-reconciled",
@@ -18060,7 +18202,28 @@ var DATA = {
18060
18202
  "kind": "judge"
18061
18203
  }
18062
18204
  }
18063
- ]
18205
+ ],
18206
+ "endAsk": {
18207
+ "label": "Unconnected accounts",
18208
+ "why": "The reconciliation above lists every difference and every account with no bank or payment-provider connection.",
18209
+ "unblocks": "The run goes on with the close",
18210
+ "ask": {
18211
+ "mode": "choose",
18212
+ "options": [
18213
+ {
18214
+ "label": "Go on with the close",
18215
+ "value": "continue",
18216
+ "recommended": true,
18217
+ "description": "Unconnected accounts stay listed in the month-end note"
18218
+ },
18219
+ {
18220
+ "label": "I connected them: reconcile again",
18221
+ "value": "reconcile_again",
18222
+ "description": "The run reconciles the newly connected accounts first"
18223
+ }
18224
+ ]
18225
+ }
18226
+ }
18064
18227
  },
18065
18228
  {
18066
18229
  "key": "receivables",
@@ -26789,7 +26952,7 @@ Report the submission's current state as STRICT JSON, using ONLY these vocabular
26789
26952
  ],
26790
26953
  "executor": "is-agent",
26791
26954
  "status": "active",
26792
- "requiredIntents": [
26955
+ "tools": [
26793
26956
  "publish_post",
26794
26957
  "send_message",
26795
26958
  "list_records"
@@ -27184,7 +27347,9 @@ Report the submission's current state as STRICT JSON, using ONLY these vocabular
27184
27347
  }
27185
27348
  ],
27186
27349
  "executor": "is-agent",
27187
- "grants": [
27350
+ "tools": [
27351
+ "update_entity",
27352
+ "resolve_identity",
27188
27353
  "fireflies_import_last_meeting",
27189
27354
  "fireflies_search",
27190
27355
  "calendar_list",
@@ -29210,7 +29375,7 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
29210
29375
  {
29211
29376
  "name": "Deliver a client engagement",
29212
29377
  "description": "Run one client engagement from kick-off to close \u2014 scope, contract, deliverables, final review and the closing invoice \u2014 with a person approving the start and the close.",
29213
- "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.",
29378
+ "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.",
29214
29379
  "subjectProfile": {
29215
29380
  "profileSlug": "engagement"
29216
29381
  },
@@ -29230,7 +29395,7 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
29230
29395
  ],
29231
29396
  "executor": "is-agent",
29232
29397
  "status": "active",
29233
- "requiredIntents": [
29398
+ "tools": [
29234
29399
  "list_records",
29235
29400
  "send_message"
29236
29401
  ],
@@ -29308,7 +29473,7 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
29308
29473
  "key": "deliver",
29309
29474
  "name": "Deliver",
29310
29475
  "category": "started",
29311
- "goal": "Track every deliverable to accepted or cancelled and post a weekly status in the room.",
29476
+ "goal": "Track every deliverable to accepted or cancelled, and end with a short status of what moved and what is late as your answer.",
29312
29477
  "indefinite": true,
29313
29478
  "criteria": [
29314
29479
  {
@@ -29320,7 +29485,7 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
29320
29485
  },
29321
29486
  {
29322
29487
  "key": "deliver-weekly-status",
29323
- "statement": "A status was posted in the room for every week the engagement was active.",
29488
+ "statement": "Each turn of this stage ended with a short status of what moved and what is late.",
29324
29489
  "check": {
29325
29490
  "kind": "judge"
29326
29491
  }
@@ -29475,7 +29640,7 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
29475
29640
  {
29476
29641
  "name": "Get a contract signed",
29477
29642
  "description": "Take a client contract from draft to signed and active, with a person approving what is sent and confirming the signature.",
29478
- "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.",
29643
+ "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.",
29479
29644
  "subjectProfile": {
29480
29645
  "profileSlug": "contract"
29481
29646
  },
@@ -29536,6 +29701,21 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
29536
29701
  },
29537
29702
  "onFail": {
29538
29703
  "toStage": "draft"
29704
+ },
29705
+ "endAsk": {
29706
+ "label": "Signed contract file",
29707
+ "why": "The contract went to the client for signature.",
29708
+ "unblocks": "The run links the signed file on the contract",
29709
+ "ask": {
29710
+ "mode": "provide",
29711
+ "provide": {
29712
+ "kind": "file",
29713
+ "accept": [
29714
+ ".pdf",
29715
+ "image/*"
29716
+ ]
29717
+ }
29718
+ }
29539
29719
  }
29540
29720
  },
29541
29721
  {
@@ -29543,7 +29723,7 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
29543
29723
  "name": "Signed",
29544
29724
  "category": "started",
29545
29725
  "subjectStatus": "signed",
29546
- "goal": "Ask the person to provide the signed file; their approval confirms both sides signed.",
29726
+ "goal": "Link the signed file the person provided on the contract; their approval confirms both sides signed.",
29547
29727
  "gate": {
29548
29728
  "kind": "human"
29549
29729
  },
@@ -31436,7 +31616,8 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
31436
31616
  }
31437
31617
  ],
31438
31618
  "executor": "is-agent",
31439
- "grants": [
31619
+ "tools": [
31620
+ "search_external",
31440
31621
  "source-triage",
31441
31622
  "evidence-synthesis",
31442
31623
  "concept-cartography",
@@ -31444,9 +31625,6 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
31444
31625
  "entity.create"
31445
31626
  ],
31446
31627
  "status": "active",
31447
- "requiredIntents": [
31448
- "search_external"
31449
- ],
31450
31628
  "expectedOutputs": [
31451
31629
  {
31452
31630
  "kind": "research",
@@ -31552,6 +31730,10 @@ Recent conversation (oldest first, JSON): {{steps.read-comms.output.messages}}`
31552
31730
  }
31553
31731
  ],
31554
31732
  "executor": "is-agent",
31733
+ "tools": [
31734
+ "create_entity",
31735
+ "create_relation"
31736
+ ],
31555
31737
  "status": "active",
31556
31738
  "expectedOutputs": [
31557
31739
  {
@@ -31942,7 +32124,8 @@ counter-evidence: research that only kept what agreed with it isn't research.
31942
32124
  }
31943
32125
  ],
31944
32126
  "executor": "is-agent",
31945
- "grants": [
32127
+ "tools": [
32128
+ "create_relation",
31946
32129
  "ibis-decision-analysis",
31947
32130
  "source-triage",
31948
32131
  "exa_search",