@synap-core/workspace-templates 0.36.0 → 0.38.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/README.md +2 -1
- package/capabilities/media-download.capability.json +16 -17
- package/capabilities/media-ffmpeg.capability.json +68 -1
- package/capabilities/media-transcribe.capability.json +2 -2
- package/capabilities/unipile-linkedin.capability.json +3 -3
- package/dist/index.js +269 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/brand-library.yaml +17 -1
- package/src/crm-messages-cadence.template.test.ts +49 -7
- package/src/crm-rules-guidance.template.test.ts +156 -0
- package/src/crm.yaml +250 -45
- package/src/lifecycle-declarations.test.ts +6 -1
- package/src/templates.ts +252 -18
- package/src/unipile-linkedin-find-profile.test.ts +21 -5
package/dist/index.js
CHANGED
|
@@ -2424,7 +2424,8 @@ var DATA = {
|
|
|
2424
2424
|
},
|
|
2425
2425
|
{
|
|
2426
2426
|
"key": "approved",
|
|
2427
|
-
"category": "done"
|
|
2427
|
+
"category": "done",
|
|
2428
|
+
"humanOnly": true
|
|
2428
2429
|
},
|
|
2429
2430
|
{
|
|
2430
2431
|
"key": "deprecated",
|
|
@@ -2447,7 +2448,8 @@ var DATA = {
|
|
|
2447
2448
|
"social",
|
|
2448
2449
|
"legal",
|
|
2449
2450
|
"editorial",
|
|
2450
|
-
"investor"
|
|
2451
|
+
"investor",
|
|
2452
|
+
"outreach"
|
|
2451
2453
|
],
|
|
2452
2454
|
"constraints": {
|
|
2453
2455
|
"defaultValue": "general"
|
|
@@ -2998,6 +3000,12 @@ var DATA = {
|
|
|
2998
3000
|
}
|
|
2999
3001
|
],
|
|
3000
3002
|
"entityLinks": [
|
|
3003
|
+
{
|
|
3004
|
+
"sourceProfileSlug": "brand-voice-guide",
|
|
3005
|
+
"targetProfileSlug": "brand-voice-guide",
|
|
3006
|
+
"type": "revises",
|
|
3007
|
+
"label": "Revises"
|
|
3008
|
+
},
|
|
3001
3009
|
{
|
|
3002
3010
|
"sourceProfileSlug": "brand-token-set",
|
|
3003
3011
|
"targetProfileSlug": "brand-color",
|
|
@@ -14287,6 +14295,113 @@ var DATA = {
|
|
|
14287
14295
|
"inputType": "textarea"
|
|
14288
14296
|
}
|
|
14289
14297
|
]
|
|
14298
|
+
},
|
|
14299
|
+
{
|
|
14300
|
+
"slug": "outreach-angle",
|
|
14301
|
+
"displayName": "Outreach angle",
|
|
14302
|
+
"icon": "compass",
|
|
14303
|
+
"color": "violet",
|
|
14304
|
+
"description": 'One row of "By kind of lead": if the lead is X, lead with this angle, offer, proof, tone and channel. The first row that fits the lead wins; a person makes a row current.',
|
|
14305
|
+
"lifecycle": {
|
|
14306
|
+
"property": "angle-status",
|
|
14307
|
+
"options": [
|
|
14308
|
+
{
|
|
14309
|
+
"key": "draft",
|
|
14310
|
+
"category": "open"
|
|
14311
|
+
},
|
|
14312
|
+
{
|
|
14313
|
+
"key": "current",
|
|
14314
|
+
"category": "done",
|
|
14315
|
+
"humanOnly": true
|
|
14316
|
+
},
|
|
14317
|
+
{
|
|
14318
|
+
"key": "retired",
|
|
14319
|
+
"category": "lost",
|
|
14320
|
+
"humanOnly": true
|
|
14321
|
+
}
|
|
14322
|
+
]
|
|
14323
|
+
},
|
|
14324
|
+
"properties": [
|
|
14325
|
+
{
|
|
14326
|
+
"slug": "angle-status",
|
|
14327
|
+
"label": "Status",
|
|
14328
|
+
"valueType": "string",
|
|
14329
|
+
"inputType": "select",
|
|
14330
|
+
"enumValues": [
|
|
14331
|
+
"draft",
|
|
14332
|
+
"current",
|
|
14333
|
+
"retired"
|
|
14334
|
+
],
|
|
14335
|
+
"constraints": {
|
|
14336
|
+
"defaultValue": "draft"
|
|
14337
|
+
}
|
|
14338
|
+
},
|
|
14339
|
+
{
|
|
14340
|
+
"slug": "angle-if",
|
|
14341
|
+
"label": "If the lead",
|
|
14342
|
+
"valueType": "string",
|
|
14343
|
+
"inputType": "textarea",
|
|
14344
|
+
"placeholder": "e.g. Posted a small automation project on Codeur or Malt"
|
|
14345
|
+
},
|
|
14346
|
+
{
|
|
14347
|
+
"slug": "angle-audience",
|
|
14348
|
+
"label": "Audience",
|
|
14349
|
+
"valueType": "entity_id",
|
|
14350
|
+
"targetProfileSlug": "audience",
|
|
14351
|
+
"inputType": "entity_select"
|
|
14352
|
+
},
|
|
14353
|
+
{
|
|
14354
|
+
"slug": "angle-about-offer",
|
|
14355
|
+
"label": "About the offer",
|
|
14356
|
+
"valueType": "entity_id",
|
|
14357
|
+
"targetProfileSlug": "offer",
|
|
14358
|
+
"inputType": "entity_select"
|
|
14359
|
+
},
|
|
14360
|
+
{
|
|
14361
|
+
"slug": "angle-lead-with",
|
|
14362
|
+
"label": "Lead with",
|
|
14363
|
+
"valueType": "string",
|
|
14364
|
+
"inputType": "textarea"
|
|
14365
|
+
},
|
|
14366
|
+
{
|
|
14367
|
+
"slug": "angle-offer",
|
|
14368
|
+
"label": "Offer",
|
|
14369
|
+
"valueType": "string",
|
|
14370
|
+
"inputType": "textarea",
|
|
14371
|
+
"placeholder": "e.g. Fixed small set-up, tool costs listed apart"
|
|
14372
|
+
},
|
|
14373
|
+
{
|
|
14374
|
+
"slug": "angle-proof",
|
|
14375
|
+
"label": "Proof",
|
|
14376
|
+
"valueType": "string",
|
|
14377
|
+
"inputType": "textarea"
|
|
14378
|
+
},
|
|
14379
|
+
{
|
|
14380
|
+
"slug": "angle-avoid",
|
|
14381
|
+
"label": "Avoid",
|
|
14382
|
+
"valueType": "string",
|
|
14383
|
+
"inputType": "textarea"
|
|
14384
|
+
},
|
|
14385
|
+
{
|
|
14386
|
+
"slug": "angle-tone",
|
|
14387
|
+
"label": "Tone",
|
|
14388
|
+
"valueType": "string",
|
|
14389
|
+
"inputType": "text"
|
|
14390
|
+
},
|
|
14391
|
+
{
|
|
14392
|
+
"slug": "angle-channel",
|
|
14393
|
+
"label": "Channel",
|
|
14394
|
+
"valueType": "string",
|
|
14395
|
+
"inputType": "text",
|
|
14396
|
+
"placeholder": "e.g. LinkedIn, else email"
|
|
14397
|
+
},
|
|
14398
|
+
{
|
|
14399
|
+
"slug": "order",
|
|
14400
|
+
"label": "Order",
|
|
14401
|
+
"valueType": "number",
|
|
14402
|
+
"inputType": "number"
|
|
14403
|
+
}
|
|
14404
|
+
]
|
|
14290
14405
|
}
|
|
14291
14406
|
],
|
|
14292
14407
|
"entityLinks": [
|
|
@@ -14373,6 +14488,12 @@ var DATA = {
|
|
|
14373
14488
|
"targetProfileSlug": "audience",
|
|
14374
14489
|
"type": "targets",
|
|
14375
14490
|
"label": "Targets"
|
|
14491
|
+
},
|
|
14492
|
+
{
|
|
14493
|
+
"sourceProfileSlug": "outreach-angle",
|
|
14494
|
+
"targetProfileSlug": "outreach-angle",
|
|
14495
|
+
"type": "revises",
|
|
14496
|
+
"label": "Revises"
|
|
14376
14497
|
}
|
|
14377
14498
|
],
|
|
14378
14499
|
"views": [
|
|
@@ -15083,7 +15204,7 @@ var DATA = {
|
|
|
15083
15204
|
{
|
|
15084
15205
|
"name": "Draft a first message",
|
|
15085
15206
|
"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.",
|
|
15086
|
-
"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.
|
|
15207
|
+
"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 new or researching 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.`,
|
|
15087
15208
|
"subjectProfile": {
|
|
15088
15209
|
"profileSlug": "lead"
|
|
15089
15210
|
},
|
|
@@ -15118,6 +15239,22 @@ var DATA = {
|
|
|
15118
15239
|
],
|
|
15119
15240
|
"executor": "is-agent",
|
|
15120
15241
|
"status": "active",
|
|
15242
|
+
"guidance": [
|
|
15243
|
+
{
|
|
15244
|
+
"ref": "kind:brand-voice-guide",
|
|
15245
|
+
"label": "Voice",
|
|
15246
|
+
"where": {
|
|
15247
|
+
"voice-context": [
|
|
15248
|
+
"general",
|
|
15249
|
+
"outreach"
|
|
15250
|
+
]
|
|
15251
|
+
}
|
|
15252
|
+
},
|
|
15253
|
+
{
|
|
15254
|
+
"ref": "kind:outreach-angle",
|
|
15255
|
+
"label": "By kind of lead"
|
|
15256
|
+
}
|
|
15257
|
+
],
|
|
15121
15258
|
"grants": [
|
|
15122
15259
|
"entity.create"
|
|
15123
15260
|
],
|
|
@@ -15150,8 +15287,8 @@ var DATA = {
|
|
|
15150
15287
|
}
|
|
15151
15288
|
},
|
|
15152
15289
|
{
|
|
15153
|
-
"key": "first-message-
|
|
15154
|
-
"statement": "The message
|
|
15290
|
+
"key": "first-message-rules",
|
|
15291
|
+
"statement": "The message follows the rules this process follows, as its instructions showed them (the approved Voice, then the first By kind of lead row that fits the lead, or the campaign's angle when one was given).",
|
|
15155
15292
|
"check": {
|
|
15156
15293
|
"kind": "judge"
|
|
15157
15294
|
}
|
|
@@ -15188,10 +15325,10 @@ var DATA = {
|
|
|
15188
15325
|
},
|
|
15189
15326
|
{
|
|
15190
15327
|
"name": "Find their LinkedIn",
|
|
15191
|
-
"description": "Find one
|
|
15192
|
-
"goalTemplate": "Find the LinkedIn profile of
|
|
15328
|
+
"description": "Find one person's LinkedIn profile by their full name and, when known, their company, and propose its URL and member id on the person for a person to approve, or offer up to 5 candidates to choose from; nothing is sent. The person need not be a lead.",
|
|
15329
|
+
"goalTemplate": "Find the LinkedIn profile of {person}. WHO: the person themselves, whether or not they are a lead (a contact of a company lead is looked up as themselves). When they already have a linkedinUrl, say so and stop. COMPANY: use where they work when it is known (their own company field, else the company they work at); when none is known, search by their name alone. FIND: run linkedin_find_profile with their full name, their company when known, and the LinkedIn account unipile_list_accounts lists (when several are connected, ask the person which one reads). On a strict match, propose its linkedinUrl and linkedinProviderId on the person through the entity door, for a person to approve; never write them directly, and never set linkedinConnection or linkedinInvitedAt, which only the pod writes. On none, several, more results than it read, or a name-only search, ask the person to choose among its candidates (at most 5, each with its name, headline, location and profile URL) or to give the URL themselves, then propose the one chosen the same way. Never send a message or a connection request, never draft one, and never move a lead's stage.",
|
|
15193
15330
|
"subjectProfile": {
|
|
15194
|
-
"profileSlug": "
|
|
15331
|
+
"profileSlug": "person"
|
|
15195
15332
|
},
|
|
15196
15333
|
"activators": [
|
|
15197
15334
|
{
|
|
@@ -15201,9 +15338,9 @@ var DATA = {
|
|
|
15201
15338
|
],
|
|
15202
15339
|
"params": [
|
|
15203
15340
|
{
|
|
15204
|
-
"name": "
|
|
15341
|
+
"name": "person",
|
|
15205
15342
|
"type": "entity",
|
|
15206
|
-
"label": "
|
|
15343
|
+
"label": "Person",
|
|
15207
15344
|
"required": true
|
|
15208
15345
|
}
|
|
15209
15346
|
],
|
|
@@ -15217,18 +15354,18 @@ var DATA = {
|
|
|
15217
15354
|
"key": "find",
|
|
15218
15355
|
"name": "Find the profile",
|
|
15219
15356
|
"category": "started",
|
|
15220
|
-
"goal": "Run linkedin_find_profile for the
|
|
15357
|
+
"goal": "Run linkedin_find_profile for the person with their full name and company when known; on a strict match propose linkedinUrl and linkedinProviderId on the person, otherwise ask the person to choose among up to 5 candidates or give the URL.",
|
|
15221
15358
|
"criteria": [
|
|
15222
15359
|
{
|
|
15223
15360
|
"key": "find-linkedin-proposed",
|
|
15224
|
-
"statement": "The person's linkedinUrl and linkedinProviderId are proposed on them for a person to approve (a strict match, or the candidate the person chose), or the person was asked to choose among at most
|
|
15361
|
+
"statement": "The person's linkedinUrl and linkedinProviderId are proposed on them for a person to approve (a strict match, or the candidate the person chose), or the person was asked to choose among at most 5 candidates; nothing was written directly.",
|
|
15225
15362
|
"check": {
|
|
15226
15363
|
"kind": "judge"
|
|
15227
15364
|
}
|
|
15228
15365
|
},
|
|
15229
15366
|
{
|
|
15230
15367
|
"key": "find-linkedin-reader-only",
|
|
15231
|
-
"statement": "No message or connection request was sent or drafted, linkedinConnection and linkedinInvitedAt were not set, and
|
|
15368
|
+
"statement": "No message or connection request was sent or drafted, linkedinConnection and linkedinInvitedAt were not set, and no lead's stage was moved.",
|
|
15232
15369
|
"check": {
|
|
15233
15370
|
"kind": "judge"
|
|
15234
15371
|
}
|
|
@@ -15378,7 +15515,7 @@ var DATA = {
|
|
|
15378
15515
|
{
|
|
15379
15516
|
"name": "Follow up on leads in outreach",
|
|
15380
15517
|
"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.",
|
|
15381
|
-
"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
|
|
15518
|
+
"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 new or researching 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.`,
|
|
15382
15519
|
"subjectProfile": {
|
|
15383
15520
|
"profileSlug": "lead"
|
|
15384
15521
|
},
|
|
@@ -15396,6 +15533,22 @@ var DATA = {
|
|
|
15396
15533
|
],
|
|
15397
15534
|
"executor": "is-agent",
|
|
15398
15535
|
"status": "active",
|
|
15536
|
+
"guidance": [
|
|
15537
|
+
{
|
|
15538
|
+
"ref": "kind:brand-voice-guide",
|
|
15539
|
+
"label": "Voice",
|
|
15540
|
+
"where": {
|
|
15541
|
+
"voice-context": [
|
|
15542
|
+
"general",
|
|
15543
|
+
"outreach"
|
|
15544
|
+
]
|
|
15545
|
+
}
|
|
15546
|
+
},
|
|
15547
|
+
{
|
|
15548
|
+
"ref": "kind:outreach-angle",
|
|
15549
|
+
"label": "By kind of lead"
|
|
15550
|
+
}
|
|
15551
|
+
],
|
|
15399
15552
|
"expectedOutputs": [
|
|
15400
15553
|
{
|
|
15401
15554
|
"kind": "messaging",
|
|
@@ -15419,7 +15572,7 @@ var DATA = {
|
|
|
15419
15572
|
},
|
|
15420
15573
|
{
|
|
15421
15574
|
"key": "followup-angle",
|
|
15422
|
-
"statement": "Each draft follows the angle of the lead's outreach campaign and its call to action.",
|
|
15575
|
+
"statement": "Each draft follows the angle of the lead's outreach campaign and its call to action, or, with no campaign, the first By kind of lead row that fits the lead, and the approved Voice.",
|
|
15423
15576
|
"check": {
|
|
15424
15577
|
"kind": "judge"
|
|
15425
15578
|
}
|
|
@@ -15464,7 +15617,7 @@ var DATA = {
|
|
|
15464
15617
|
{
|
|
15465
15618
|
"name": "Personalized Outreach",
|
|
15466
15619
|
"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.",
|
|
15467
|
-
"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. 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
|
|
15620
|
+
"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 new or researching 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.`,
|
|
15468
15621
|
"subjectProfile": {
|
|
15469
15622
|
"profileSlug": "campaign"
|
|
15470
15623
|
},
|
|
@@ -15494,6 +15647,22 @@ var DATA = {
|
|
|
15494
15647
|
],
|
|
15495
15648
|
"executor": "is-agent",
|
|
15496
15649
|
"status": "active",
|
|
15650
|
+
"guidance": [
|
|
15651
|
+
{
|
|
15652
|
+
"ref": "kind:brand-voice-guide",
|
|
15653
|
+
"label": "Voice",
|
|
15654
|
+
"where": {
|
|
15655
|
+
"voice-context": [
|
|
15656
|
+
"general",
|
|
15657
|
+
"outreach"
|
|
15658
|
+
]
|
|
15659
|
+
}
|
|
15660
|
+
},
|
|
15661
|
+
{
|
|
15662
|
+
"ref": "kind:outreach-angle",
|
|
15663
|
+
"label": "By kind of lead"
|
|
15664
|
+
}
|
|
15665
|
+
],
|
|
15497
15666
|
"requiredIntents": [
|
|
15498
15667
|
"find_people",
|
|
15499
15668
|
"enrich_entity"
|
|
@@ -15524,8 +15693,8 @@ var DATA = {
|
|
|
15524
15693
|
}
|
|
15525
15694
|
},
|
|
15526
15695
|
{
|
|
15527
|
-
"key": "outreach-
|
|
15528
|
-
"statement": "Every drafted message
|
|
15696
|
+
"key": "outreach-rules",
|
|
15697
|
+
"statement": "Every drafted message follows the rules this process follows, as its instructions showed them (the approved Voice, in this campaign's angle).",
|
|
15529
15698
|
"check": {
|
|
15530
15699
|
"kind": "judge"
|
|
15531
15700
|
}
|
|
@@ -15752,6 +15921,71 @@ var DATA = {
|
|
|
15752
15921
|
}
|
|
15753
15922
|
]
|
|
15754
15923
|
},
|
|
15924
|
+
{
|
|
15925
|
+
"name": "Propose my rules from my sent messages",
|
|
15926
|
+
"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.",
|
|
15927
|
+
"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.`,
|
|
15928
|
+
"executor": "is-agent",
|
|
15929
|
+
"status": "active",
|
|
15930
|
+
"grants": [
|
|
15931
|
+
"entity.create"
|
|
15932
|
+
],
|
|
15933
|
+
"expectedOutputs": [
|
|
15934
|
+
{
|
|
15935
|
+
"kind": "brand-voice-guide",
|
|
15936
|
+
"label": "Draft outreach voice",
|
|
15937
|
+
"relationToSubject": "none"
|
|
15938
|
+
},
|
|
15939
|
+
{
|
|
15940
|
+
"kind": "outreach-angle",
|
|
15941
|
+
"label": 'Draft "By kind of lead" rows',
|
|
15942
|
+
"relationToSubject": "none"
|
|
15943
|
+
}
|
|
15944
|
+
],
|
|
15945
|
+
"stages": [
|
|
15946
|
+
{
|
|
15947
|
+
"key": "draft",
|
|
15948
|
+
"name": "Propose the drafts",
|
|
15949
|
+
"category": "started",
|
|
15950
|
+
"goal": 'Read the current rules, the audiences and offers and the sent messages; write one draft outreach voice guide from the seed and the messages, and one draft By kind of lead row per kind of lead, ending with an "Anything else" row.',
|
|
15951
|
+
"criteria": [
|
|
15952
|
+
{
|
|
15953
|
+
"key": "rules-drafts-only",
|
|
15954
|
+
"statement": "Every voice guide and By kind of lead row this run wrote is a draft (voice status draft, angle status draft), and no approved voice guide or current row was edited, approved or retired.",
|
|
15955
|
+
"check": {
|
|
15956
|
+
"kind": "judge"
|
|
15957
|
+
}
|
|
15958
|
+
},
|
|
15959
|
+
{
|
|
15960
|
+
"key": "rules-seeded",
|
|
15961
|
+
"statement": "The draft voice holds the seed lines (cite the signal or a past exchange, never a generic template, short, the person's language, French by default with vous, one useful next step, never pressure) as Do and Don't lines, plus only what at least two sent messages show.",
|
|
15962
|
+
"check": {
|
|
15963
|
+
"kind": "judge"
|
|
15964
|
+
}
|
|
15965
|
+
},
|
|
15966
|
+
{
|
|
15967
|
+
"key": "rules-rows-sourced",
|
|
15968
|
+
"statement": 'Each By kind of lead row names the sent messages it came from, has an order, and the last one is an "Anything else" row; no proof is invented.',
|
|
15969
|
+
"check": {
|
|
15970
|
+
"kind": "judge"
|
|
15971
|
+
}
|
|
15972
|
+
}
|
|
15973
|
+
]
|
|
15974
|
+
},
|
|
15975
|
+
{
|
|
15976
|
+
"key": "review",
|
|
15977
|
+
"name": "Person makes them current",
|
|
15978
|
+
"category": "completed",
|
|
15979
|
+
"goal": "The person reads the drafts, edits them if needed and makes each one current (a voice guide approved, a row current) on the Brand and communication page or in the pod, or drops it.",
|
|
15980
|
+
"gate": {
|
|
15981
|
+
"kind": "human"
|
|
15982
|
+
},
|
|
15983
|
+
"onFail": {
|
|
15984
|
+
"toStage": "draft"
|
|
15985
|
+
}
|
|
15986
|
+
}
|
|
15987
|
+
]
|
|
15988
|
+
},
|
|
15755
15989
|
{
|
|
15756
15990
|
"name": "Propose a Health cell",
|
|
15757
15991
|
"description": "Answer one question about your sales with a tile on the Health dashboard; the AI writes the tile and you approve it before it shows. Run by one of your agents for now (Synap AI cannot place a tile yet).",
|
|
@@ -33164,6 +33398,11 @@ var vocabularySentencesEn = {
|
|
|
33164
33398
|
"vocabulary.title.noVerb": "Request: {Obj}",
|
|
33165
33399
|
"vocabulary.title.noVerb.named": 'Request: {Obj} "{name}"',
|
|
33166
33400
|
"vocabulary.title.lead": "{verb}: {name}",
|
|
33401
|
+
// A capability asked for one of the person's computers
|
|
33402
|
+
// (`buildInstallationTitle`): what, and on which computer.
|
|
33403
|
+
"vocabulary.title.onComputer": '{verb} "{name}" on {computer}',
|
|
33404
|
+
"vocabulary.title.fromComputer": '{verb} "{name}" from {computer}',
|
|
33405
|
+
"vocabulary.title.addAndInstallOn": 'Add "{name}" from the marketplace and install it on {computer}',
|
|
33167
33406
|
"vocabulary.title.verbOnly.named": '{verb} "{name}"',
|
|
33168
33407
|
"vocabulary.title.imperative": "{verb} {Obj}",
|
|
33169
33408
|
"vocabulary.title.imperative.named": '{verb} {Obj} "{name}"',
|
|
@@ -33200,6 +33439,12 @@ var vocabularySentencesEn = {
|
|
|
33200
33439
|
"vocabulary.membersDecide.unnamed": "Item members decide",
|
|
33201
33440
|
// `resolveHandedToLabel`: a slot handed to an agent (past).
|
|
33202
33441
|
"vocabulary.handedTo": "Handed to {name}",
|
|
33442
|
+
// `resolveDoNotContactRefusal`: why the send door sent nothing to a person
|
|
33443
|
+
// marked do not contact (founder, 2026-11-09). The reason, when the person
|
|
33444
|
+
// gave one, is said as written.
|
|
33445
|
+
"vocabulary.refusal.doNotContact": "Nothing was sent: {name} is marked do not contact.",
|
|
33446
|
+
"vocabulary.refusal.doNotContact.reason": "Nothing was sent: {name} is marked do not contact ({reason}).",
|
|
33447
|
+
"vocabulary.refusal.doNotContact.unnamed": "this person",
|
|
33203
33448
|
// `resolveRunnerStateLabelFor`: a runner's wait read by someone other than
|
|
33204
33449
|
// the person it waits on (a room member): never "your".
|
|
33205
33450
|
"vocabulary.runner.needs_permission.named": "Waiting for {name}'s permission",
|
|
@@ -34135,6 +34380,12 @@ var ACTION_VERB_ROWS = {
|
|
|
34135
34380
|
// matter — the button asks, the session receipt reports.
|
|
34136
34381
|
plan_approval: { imperative: "Approve plan", past: "Approved plan" },
|
|
34137
34382
|
deploy_approval: { imperative: "Approve deploy", past: "Approved deploy" },
|
|
34383
|
+
// A playbook STAGE GATE (`playbook.stage_gate`, changeType `stage_gate`):
|
|
34384
|
+
// the person agrees to a session entering a stage. Like the dev gates, not
|
|
34385
|
+
// bare "Approve"; titled as a LEAD (`ACTION_TITLE_LEADS`) whose name is the
|
|
34386
|
+
// stage and the thing ("Approve stage: Send proposal for EU deal"), never
|
|
34387
|
+
// "Stage gate Job" (finding 8f2dee79).
|
|
34388
|
+
stage_gate: { imperative: "Approve stage", past: "Approved stage" },
|
|
34138
34389
|
// Document-edit proposal types (`DOCUMENT_PATCH_PROPOSAL_TYPES` + the legacy
|
|
34139
34390
|
// `ai_edit`), filed against an EXISTING document by the pod's patch door.
|
|
34140
34391
|
// Without rows they humanized to "Section update" / "Ai edit" and composed
|