autotouch-cli 0.2.113__tar.gz → 0.2.114__tar.gz

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.
Files changed (61) hide show
  1. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/PKG-INFO +4 -2
  2. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/README.md +3 -1
  3. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/sender_accounts.py +6 -5
  4. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/sequences.py +32 -7
  5. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/data/CLI_REFERENCE.md +8 -8
  6. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/data/cli-manifest.json +8 -8
  7. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/templates.py +15 -6
  8. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/PKG-INFO +4 -2
  9. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/pyproject.toml +1 -1
  10. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/MANIFEST.in +0 -0
  11. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/__init__.py +0 -0
  12. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/cli.py +0 -0
  13. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/cli_contracts.py +0 -0
  14. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/__init__.py +0 -0
  15. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/agents.py +0 -0
  16. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/auth.py +0 -0
  17. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/cells.py +0 -0
  18. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/columns.py +0 -0
  19. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/integrations.py +0 -0
  20. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/jobs.py +0 -0
  21. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/leads.py +0 -0
  22. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/linkedin.py +0 -0
  23. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/list_build.py +0 -0
  24. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/outreach.py +0 -0
  25. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/prompts.py +0 -0
  26. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/rows.py +0 -0
  27. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/search.py +0 -0
  28. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/tables.py +0 -0
  29. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/tasks.py +0 -0
  30. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/webhooks.py +0 -0
  31. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/commands/workspace_secrets.py +0 -0
  32. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/core/__init__.py +0 -0
  33. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/core/auth.py +0 -0
  34. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/core/config.py +0 -0
  35. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/core/csv_import.py +0 -0
  36. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/core/http.py +0 -0
  37. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/core/io.py +0 -0
  38. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/core/output.py +0 -0
  39. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/core/polling.py +0 -0
  40. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/core/run.py +0 -0
  41. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/core/validation.py +0 -0
  42. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/exceptions.py +0 -0
  43. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/mongo_status.py +0 -0
  44. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/parser.py +0 -0
  45. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/parser_groups.py +0 -0
  46. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/sequence_support.py +0 -0
  47. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/workflows/__init__.py +0 -0
  48. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli/workflows/registry.py +0 -0
  49. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/SOURCES.txt +0 -0
  50. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/dependency_links.txt +0 -0
  51. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/entry_points.txt +0 -0
  52. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/requires.txt +0 -0
  53. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_cli.egg-info/top_level.txt +0 -0
  54. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_shared/__init__.py +0 -0
  55. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_shared/linkedin_contract.py +0 -0
  56. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_shared/linkedin_filters.py +0 -0
  57. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_shared/list_build_contract.py +0 -0
  58. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_shared/product_lifecycle.py +0 -0
  59. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_shared/provider_registry.py +0 -0
  60. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/autotouch_shared/search_contract.py +0 -0
  61. {autotouch_cli-0.2.113 → autotouch_cli-0.2.114}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: autotouch-cli
3
- Version: 0.2.113
3
+ Version: 0.2.114
4
4
  Summary: Autotouch Smart Table CLI
5
5
  Project-URL: Homepage, https://app.autotouch.ai
6
6
  Project-URL: Documentation, https://github.com/nicolonic/autotouch_main/tree/main/docs/research-table/reference
@@ -185,13 +185,15 @@ When a user asks to create a campaign sequence, distinguish these separate decis
185
185
 
186
186
  If the user says "automate the sequence" without asking for AI-written sends, choose the template-based automated path. Offer manual AI-draft review as the higher-personalization path, but call out that it creates upfront manual tasks while the system learns.
187
187
 
188
+ Do not mix `aiDraft=true` with non-empty `subjectTemplate`, `bodyTemplate`, or `scriptTemplate`. Template fields send exact variable-filled copy when `aiDraft=false`; AI-draft steps should leave template fields empty and use sequence/source-table context. The CLI and developer-key API reject the mixed shape.
189
+
188
190
  For bulk Instantly/Smartlead sequences, email sender accounts live on the provider campaign, not on each enrollment. Use `autotouch sequences sync-accounts --sequence-id <SEQUENCE_ID> --account-selection all_eligible` for the org's eligible provider-account group, or `--account-selection selected --selected-account sender@example.com` for specific provider mailboxes. For personal mailbox or LinkedIn steps, use enrollment sender routing only when the user asks for explicit sender pinning or team routing.
189
191
 
190
192
  Keep `requiredVariables` limited to variables that the sequence actually needs. If a variable is listed there, every provider enrollment must hydrate it from lead context, research-table mappings, or explicit overrides; unused required variables can block an otherwise valid bulk campaign.
191
193
 
192
194
  Version guard:
193
195
 
194
- - Use `autotouch --version` before relying on recipe defaults. This repo expects `autotouch-cli` `0.2.112` or newer.
196
+ - Use `autotouch --version` before relying on recipe defaults. This repo expects `autotouch-cli` `0.2.114` or newer.
195
197
  - If `python3 -m pip install -U autotouch-cli` upgrades the package but `which autotouch` still points at an older shim, run the upgraded binary directly or fix PATH before creating production sequences.
196
198
  - Before authoring a LinkedIn sequence, inspect the live recipe:
197
199
 
@@ -160,13 +160,15 @@ When a user asks to create a campaign sequence, distinguish these separate decis
160
160
 
161
161
  If the user says "automate the sequence" without asking for AI-written sends, choose the template-based automated path. Offer manual AI-draft review as the higher-personalization path, but call out that it creates upfront manual tasks while the system learns.
162
162
 
163
+ Do not mix `aiDraft=true` with non-empty `subjectTemplate`, `bodyTemplate`, or `scriptTemplate`. Template fields send exact variable-filled copy when `aiDraft=false`; AI-draft steps should leave template fields empty and use sequence/source-table context. The CLI and developer-key API reject the mixed shape.
164
+
163
165
  For bulk Instantly/Smartlead sequences, email sender accounts live on the provider campaign, not on each enrollment. Use `autotouch sequences sync-accounts --sequence-id <SEQUENCE_ID> --account-selection all_eligible` for the org's eligible provider-account group, or `--account-selection selected --selected-account sender@example.com` for specific provider mailboxes. For personal mailbox or LinkedIn steps, use enrollment sender routing only when the user asks for explicit sender pinning or team routing.
164
166
 
165
167
  Keep `requiredVariables` limited to variables that the sequence actually needs. If a variable is listed there, every provider enrollment must hydrate it from lead context, research-table mappings, or explicit overrides; unused required variables can block an otherwise valid bulk campaign.
166
168
 
167
169
  Version guard:
168
170
 
169
- - Use `autotouch --version` before relying on recipe defaults. This repo expects `autotouch-cli` `0.2.112` or newer.
171
+ - Use `autotouch --version` before relying on recipe defaults. This repo expects `autotouch-cli` `0.2.114` or newer.
170
172
  - If `python3 -m pip install -U autotouch-cli` upgrades the package but `which autotouch` still points at an older shim, run the upgraded binary directly or fix PATH before creating production sequences.
171
173
  - Before authoring a LinkedIn sequence, inspect the live recipe:
172
174
 
@@ -105,8 +105,9 @@ def register_sender_accounts_subcommands(
105
105
  help="List connected email and LinkedIn sender accounts",
106
106
  description=(
107
107
  "Read sender accounts available to the current actor. Most sequence enrollments only need "
108
- "an assignee and will use that user's default connected senders. Use these IDs for advanced "
109
- "team routing, explicit sender pinning, or sender-account delegation management."
108
+ "an assignee and will use that user's default connected senders. Use these IDs when the "
109
+ "task owner/reviewer differs from the email or LinkedIn sender, for round-robin routing, "
110
+ "or for sender-account delegation management."
110
111
  ),
111
112
  )
112
113
  sender_sub = parser.add_subparsers(dest="sender_accounts_cmd", required=True)
@@ -116,7 +117,7 @@ def register_sender_accounts_subcommands(
116
117
  list_parser.add_argument(
117
118
  "--include-all",
118
119
  action="store_true",
119
- help="Admin only: include all sender accounts in the organization",
120
+ help="Admin only: include all sender accounts in the organization, useful when resolving explicit team-managed senders",
120
121
  )
121
122
  add_api_common_arguments(list_parser)
122
123
  list_parser.set_defaults(func=handlers["list"])
@@ -142,8 +143,8 @@ def register_sender_accounts_subcommands(
142
143
  "grant-delegation",
143
144
  help="Allow another user to send from a sender account",
144
145
  description=(
145
- "Owner/admin user-session management command. Use when a manager owns a connected account "
146
- "but another workspace user should be allowed to send assigned sequence work from it."
146
+ "Owner/admin user-session management command. Use when one user's connected account "
147
+ "should be available for another workspace user to manage or execute assigned sequence work."
147
148
  ),
148
149
  )
149
150
  grant_parser.add_argument("--sender-account-id", required=True)
@@ -68,7 +68,10 @@ def _sequence_enroll_output_hints(payload: Dict[str, Any]) -> Dict[str, Any]:
68
68
  )
69
69
  elif sender_account_ids:
70
70
  channels = ", ".join(sorted(str(channel) for channel in sender_account_ids.keys()))
71
- sender_hint = f"Enrollment pins sender account IDs for: {channels}."
71
+ sender_hint = (
72
+ f"Enrollment pins sender account IDs for: {channels}. "
73
+ "The task owner/reviewer can differ from the sender identity."
74
+ )
72
75
  else:
73
76
  sender_hint = (
74
77
  "No sender account IDs are pinned; sequence execution will use the assignee/owner's default connected sender accounts."
@@ -218,6 +221,23 @@ def _attach_sequence_authoring_warnings(output: Dict[str, Any], payload: Optiona
218
221
  return enriched
219
222
 
220
223
 
224
+ def _raise_for_unsafe_sequence_authoring(payload: Dict[str, Any]) -> None:
225
+ mixed_mode_warnings = _sequence_template_ai_draft_warnings(payload)
226
+ if not mixed_mode_warnings:
227
+ return
228
+
229
+ step_labels = ", ".join(
230
+ str(warning.get("step_id") or f"step {int(warning.get('step_index') or 0) + 1}")
231
+ for warning in mixed_mode_warnings
232
+ )
233
+ raise AutotouchInputError(
234
+ "sequence payload mixes aiDraft=true with non-empty template fields "
235
+ f"on {step_labels}. Template fields are deterministic copy when aiDraft=false; "
236
+ "with aiDraft=true they become draft context and are not guaranteed to be sent exactly. "
237
+ "Set aiDraft=false for template sending, or leave template fields empty for AI-drafted tasks."
238
+ )
239
+
240
+
221
241
  def _split_account_values(values: Optional[List[str]]) -> List[str]:
222
242
  out: List[str] = []
223
243
  seen: set[str] = set()
@@ -428,6 +448,7 @@ def cmd_sequences_create(args: argparse.Namespace, *, runtime: SequenceCommandRu
428
448
  if not isinstance(payload, dict):
429
449
  raise AutotouchInputError("sequence create requires --data-json/--data-file with a JSON object")
430
450
  payload = _apply_provider_account_config(payload, args)
451
+ _raise_for_unsafe_sequence_authoring(payload)
431
452
 
432
453
  data = runtime.request_api(
433
454
  "POST",
@@ -456,6 +477,7 @@ def cmd_sequences_update(args: argparse.Namespace, *, runtime: SequenceCommandRu
456
477
  if not isinstance(payload, dict):
457
478
  raise AutotouchInputError("sequence update requires --data-json/--data-file with a JSON object")
458
479
  payload = _apply_provider_account_config(payload, args)
480
+ _raise_for_unsafe_sequence_authoring(payload)
459
481
 
460
482
  try:
461
483
  data = runtime.request_api(
@@ -767,7 +789,8 @@ def register_sequences_subcommands(
767
789
  description=(
768
790
  "For bulk sequences, sender accounts live on the provider campaign rather than per enrollment. "
769
791
  "Use --account-selection all_eligible for the org's eligible provider account group, or "
770
- "--account-selection selected with --selected-account for specific mailbox emails."
792
+ "--account-selection selected with --selected-account for specific mailbox emails. "
793
+ "This is separate from personal email/LinkedIn senderAccountIds used by sequence enrollments."
771
794
  ),
772
795
  )
773
796
  psqsa.add_argument("--sequence-id", required=True)
@@ -825,9 +848,11 @@ def register_sequences_subcommands(
825
848
  help="Enroll leads into a sequence (best for one-off/manual adds)",
826
849
  description=(
827
850
  "Direct enroll is best for one-off/manual adds. The simple path is lead IDs plus "
828
- "--assigned-to-user-id; when sender account flags are omitted, execution uses that "
829
- "user's default connected email/LinkedIn senders. Use add_to_sequence when rows "
830
- "should auto-enroll from a research table over time."
851
+ "--assigned-to-user-id, which is the task owner/reviewer. When sender account flags "
852
+ "are omitted, execution uses that user's default connected email/LinkedIn senders. "
853
+ "For team-managed work, keep --assigned-to-user-id as the manager/reviewer and pass "
854
+ "--email-sender-account-id / --linkedin-sender-account-id for the account that should "
855
+ "actually send. Use add_to_sequence when rows should auto-enroll from a research table over time."
831
856
  ),
832
857
  )
833
858
  psqe.add_argument("--sequence-id", required=True)
@@ -873,11 +898,11 @@ def register_sequences_subcommands(
873
898
  psqe.add_argument("--variable-overrides-file", help="variableOverrides JSON file")
874
899
  psqe.add_argument(
875
900
  "--assigned-to-user-id",
876
- help="Assign generated tasks to this user; default senders for that user are used unless sender routing flags are supplied",
901
+ help="Task owner/reviewer. Default senders for that user are used unless sender routing flags are supplied",
877
902
  )
878
903
  psqe.add_argument(
879
904
  "--email-sender-account-id",
880
- help="Advanced: pin email steps to this sender account instead of using the assignee's default",
905
+ help="Advanced: pin personal email steps to this sender account instead of using the assignee's default",
881
906
  )
882
907
  psqe.add_argument(
883
908
  "--linkedin-sender-account-id",
@@ -1,6 +1,6 @@
1
1
  # Autotouch CLI Reference
2
2
 
3
- Generated from the installed parser for `autotouch-cli` `0.2.113`.
3
+ Generated from the installed parser for `autotouch-cli` `0.2.114`.
4
4
  Manifest schema version: `2`.
5
5
 
6
6
  ## Output Modes
@@ -4474,7 +4474,7 @@ Find companies similar to a seed company
4474
4474
 
4475
4475
  List connected email and LinkedIn sender accounts
4476
4476
 
4477
- Read sender accounts available to the current actor. Most sequence enrollments only need an assignee and will use that user's default connected senders. Use these IDs for advanced team routing, explicit sender pinning, or sender-account delegation management.
4477
+ Read sender accounts available to the current actor. Most sequence enrollments only need an assignee and will use that user's default connected senders. Use these IDs when the task owner/reviewer differs from the email or LinkedIn sender, for round-robin routing, or for sender-account delegation management.
4478
4478
 
4479
4479
  - Auth: `varies_by_subcommand`
4480
4480
  - Stability: `stable`
@@ -4517,7 +4517,7 @@ Get one sender account and its delegations
4517
4517
 
4518
4518
  Allow another user to send from a sender account
4519
4519
 
4520
- Owner/admin user-session management command. Use when a manager owns a connected account but another workspace user should be allowed to send assigned sequence work from it.
4520
+ Owner/admin user-session management command. Use when one user's connected account should be available for another workspace user to manage or execute assigned sequence work.
4521
4521
 
4522
4522
  - Auth: `user_session`
4523
4523
  - Stability: `stable`
@@ -4570,7 +4570,7 @@ List accessible sender accounts
4570
4570
  --json-pointer JSON_POINTER] [--verbose]`
4571
4571
  - Options:
4572
4572
  - `--channel` (kind=string; choices=email,linkedin): Filter by sender channel
4573
- - `--include-all` (kind=boolean; when omitted=False; when present=True): Admin only: include all sender accounts in the organization
4573
+ - `--include-all` (kind=boolean; when omitted=False; when present=True): Admin only: include all sender accounts in the organization, useful when resolving explicit team-managed senders
4574
4574
  - `--base-url` (kind=string; default=https://app.autotouch.ai): API base URL (default: https://app.autotouch.ai)
4575
4575
  - `--token` (kind=string; sensitive): Developer API key / JWT token
4576
4576
  - `--use-x-api-key` (kind=boolean; when omitted=False; when present=True): Send token via X-API-Key header
@@ -4854,7 +4854,7 @@ Check sequence email delivery readiness
4854
4854
 
4855
4855
  Enroll leads into a sequence (best for one-off/manual adds)
4856
4856
 
4857
- Direct enroll is best for one-off/manual adds. The simple path is lead IDs plus --assigned-to-user-id; when sender account flags are omitted, execution uses that user's default connected email/LinkedIn senders. Use add_to_sequence when rows should auto-enroll from a research table over time.
4857
+ Direct enroll is best for one-off/manual adds. The simple path is lead IDs plus --assigned-to-user-id, which is the task owner/reviewer. When sender account flags are omitted, execution uses that user's default connected email/LinkedIn senders. For team-managed work, keep --assigned-to-user-id as the manager/reviewer and pass --email-sender-account-id / --linkedin-sender-account-id for the account that should actually send. Use add_to_sequence when rows should auto-enroll from a research table over time.
4858
4858
 
4859
4859
  - Auth: `developer_key_or_user_session`
4860
4860
  - Stability: `stable`
@@ -4915,8 +4915,8 @@ Direct enroll is best for one-off/manual adds. The simple path is lead IDs plus
4915
4915
  - `--variable-map-file` (kind=file; input=file): variableMap JSON file
4916
4916
  - `--variable-overrides-json` (kind=json; input=json): variableOverrides JSON
4917
4917
  - `--variable-overrides-file` (kind=file; input=file): variableOverrides JSON file
4918
- - `--assigned-to-user-id` (kind=string): Assign generated tasks to this user; default senders for that user are used unless sender routing flags are supplied
4919
- - `--email-sender-account-id` (kind=string): Advanced: pin email steps to this sender account instead of using the assignee's default
4918
+ - `--assigned-to-user-id` (kind=string): Task owner/reviewer. Default senders for that user are used unless sender routing flags are supplied
4919
+ - `--email-sender-account-id` (kind=string): Advanced: pin personal email steps to this sender account instead of using the assignee's default
4920
4920
  - `--linkedin-sender-account-id` (kind=string): Advanced: pin LinkedIn steps to this sender account instead of using the assignee's default
4921
4921
  - `--sender-account` (kind=string; repeatable; comma-separated): Advanced sender mapping channel=id (email=... or linkedin=...); repeatable, comma-separated
4922
4922
  - `--assignment-plan-json` (kind=json; input=json): Advanced: assignmentPlan JSON array for team/round-robin routing
@@ -5155,7 +5155,7 @@ Set sequence status
5155
5155
 
5156
5156
  Choose and sync Instantly/Smartlead sender accounts for a managed bulk sequence
5157
5157
 
5158
- For bulk sequences, sender accounts live on the provider campaign rather than per enrollment. Use --account-selection all_eligible for the org's eligible provider account group, or --account-selection selected with --selected-account for specific mailbox emails.
5158
+ For bulk sequences, sender accounts live on the provider campaign rather than per enrollment. Use --account-selection all_eligible for the org's eligible provider account group, or --account-selection selected with --selected-account for specific mailbox emails. This is separate from personal email/LinkedIn senderAccountIds used by sequence enrollments.
5159
5159
 
5160
5160
  - Auth: `developer_key_or_user_session`
5161
5161
  - Stability: `stable`
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.113",
2
+ "version": "0.2.114",
3
3
  "manifest_schema_version": 2,
4
4
  "entry_points": {
5
5
  "autotouch": "autotouch_cli.cli:main",
@@ -22581,7 +22581,7 @@
22581
22581
  "aliases": [],
22582
22582
  "group": "sequences",
22583
22583
  "help": "Choose and sync Instantly/Smartlead sender accounts for a managed bulk sequence",
22584
- "description": "For bulk sequences, sender accounts live on the provider campaign rather than per enrollment. Use --account-selection all_eligible for the org's eligible provider account group, or --account-selection selected with --selected-account for specific mailbox emails.",
22584
+ "description": "For bulk sequences, sender accounts live on the provider campaign rather than per enrollment. Use --account-selection all_eligible for the org's eligible provider account group, or --account-selection selected with --selected-account for specific mailbox emails. This is separate from personal email/LinkedIn senderAccountIds used by sequence enrollments.",
22585
22585
  "notes": null,
22586
22586
  "required_flags": [
22587
22587
  "--sequence-id"
@@ -24028,7 +24028,7 @@
24028
24028
  "aliases": [],
24029
24029
  "group": "sequences",
24030
24030
  "help": "Enroll leads into a sequence (best for one-off/manual adds)",
24031
- "description": "Direct enroll is best for one-off/manual adds. The simple path is lead IDs plus --assigned-to-user-id; when sender account flags are omitted, execution uses that user's default connected email/LinkedIn senders. Use add_to_sequence when rows should auto-enroll from a research table over time.",
24031
+ "description": "Direct enroll is best for one-off/manual adds. The simple path is lead IDs plus --assigned-to-user-id, which is the task owner/reviewer. When sender account flags are omitted, execution uses that user's default connected email/LinkedIn senders. For team-managed work, keep --assigned-to-user-id as the manager/reviewer and pass --email-sender-account-id / --linkedin-sender-account-id for the account that should actually send. Use add_to_sequence when rows should auto-enroll from a research table over time.",
24032
24032
  "notes": null,
24033
24033
  "required_flags": [
24034
24034
  "--sequence-id"
@@ -24243,7 +24243,7 @@
24243
24243
  {
24244
24244
  "dest": "assigned_to_user_id",
24245
24245
  "required": false,
24246
- "help": "Assign generated tasks to this user; default senders for that user are used unless sender routing flags are supplied",
24246
+ "help": "Task owner/reviewer. Default senders for that user are used unless sender routing flags are supplied",
24247
24247
  "kind": "string",
24248
24248
  "action": "store",
24249
24249
  "flags": [
@@ -24254,7 +24254,7 @@
24254
24254
  {
24255
24255
  "dest": "email_sender_account_id",
24256
24256
  "required": false,
24257
- "help": "Advanced: pin email steps to this sender account instead of using the assignee's default",
24257
+ "help": "Advanced: pin personal email steps to this sender account instead of using the assignee's default",
24258
24258
  "kind": "string",
24259
24259
  "action": "store",
24260
24260
  "flags": [
@@ -24836,7 +24836,7 @@
24836
24836
  "aliases": [],
24837
24837
  "group": "sender-accounts",
24838
24838
  "help": "List connected email and LinkedIn sender accounts",
24839
- "description": "Read sender accounts available to the current actor. Most sequence enrollments only need an assignee and will use that user's default connected senders. Use these IDs for advanced team routing, explicit sender pinning, or sender-account delegation management.",
24839
+ "description": "Read sender accounts available to the current actor. Most sequence enrollments only need an assignee and will use that user's default connected senders. Use these IDs when the task owner/reviewer differs from the email or LinkedIn sender, for round-robin routing, or for sender-account delegation management.",
24840
24840
  "notes": null,
24841
24841
  "required_flags": [],
24842
24842
  "positionals": [],
@@ -24892,7 +24892,7 @@
24892
24892
  {
24893
24893
  "dest": "include_all",
24894
24894
  "required": false,
24895
- "help": "Admin only: include all sender accounts in the organization",
24895
+ "help": "Admin only: include all sender accounts in the organization, useful when resolving explicit team-managed senders",
24896
24896
  "kind": "boolean",
24897
24897
  "action": "store_true",
24898
24898
  "nargs": 0,
@@ -25440,7 +25440,7 @@
25440
25440
  "aliases": [],
25441
25441
  "group": "sender-accounts",
25442
25442
  "help": "Allow another user to send from a sender account",
25443
- "description": "Owner/admin user-session management command. Use when a manager owns a connected account but another workspace user should be allowed to send assigned sequence work from it.",
25443
+ "description": "Owner/admin user-session management command. Use when one user's connected account should be available for another workspace user to manage or execute assigned sequence work.",
25444
25444
  "notes": null,
25445
25445
  "required_flags": [
25446
25446
  "--sender-account-id",
@@ -55,9 +55,11 @@ COLUMN_RECIPE_ALIASES: Dict[str, Dict[str, Any]] = {
55
55
  "notes": [
56
56
  "Directional alias: Autotouch Leads -> Autotouch Sequence.",
57
57
  "Use this after leads exist and the user wants Autotouch sequence enrollment.",
58
- "Set config.assignedToUserId so generated sequence tasks are assigned to the intended user.",
58
+ "Set config.assignedToUserId to the person who should own/review generated sequence tasks.",
59
59
  "Easy path: omit senderAccountIds and assignmentPlan so tasks use the assignee's default connected sender accounts.",
60
- "Advanced/team path: set config.senderAccountIds for one explicit email/LinkedIn sender, or config.assignmentPlan plus config.routingMode for round-robin routing.",
60
+ "Team-managed path: when one user manages the work but another user's mailbox/LinkedIn should send, keep assignedToUserId as the manager and set config.senderAccountIds.email/linkedin to the sender's account IDs.",
61
+ "Round-robin path: set config.assignmentPlan plus config.routingMode for multiple owners/senders.",
62
+ "Use autotouch sender-accounts list --channel email/linkedin to resolve sender IDs; the sender account must be accessible to the authenticated actor or delegated to the task owner.",
61
63
  "Keep config.skipActiveSequenceConflicts=true unless the user explicitly wants parallel enrollment for people already active in another sequence.",
62
64
  ],
63
65
  },
@@ -912,6 +914,7 @@ SEQUENCE_RECIPE_NOTES: Dict[str, List[str]] = {
912
914
  *_SEQUENCE_CAMPAIGN_INTAKE_NOTES,
913
915
  "Recommended default when the user says to create a sequence but does not explicitly ask for no-review automation.",
914
916
  "Manual AI-draft review means executionMode=MANUAL and aiDraft=true: AI drafts the task content, then a human approves/completes it.",
917
+ "Do not combine aiDraft=true with non-empty subjectTemplate/bodyTemplate/scriptTemplate; set aiDraft=false for exact template sending or leave template fields empty for AI-drafted tasks.",
915
918
  "If the user explicitly says to automate sending without review, use automated_template or bulk_automated with fixed templates instead.",
916
919
  "Keep steps aligned with graph action sourceStepId values.",
917
920
  "Use {{company_name}} for normal company display copy and {{company_name_clean}} when copy should strip legal suffixes like Inc/LLC/Ltd.",
@@ -925,6 +928,7 @@ SEQUENCE_RECIPE_NOTES: Dict[str, List[str]] = {
925
928
  *_SEQUENCE_CAMPAIGN_INTAKE_NOTES,
926
929
  "Alias of create. Use this when the user wants AI-personalized drafts and is willing to approve manual tasks while the system learns.",
927
930
  "Manual AI-draft review means executionMode=MANUAL and aiDraft=true.",
931
+ "Leave template fields empty on AI-draft steps; set aiDraft=false when the template should be sent exactly.",
928
932
  "Use {{company_name}} for normal company display copy and {{company_name_clean}} when copy should strip legal suffixes like Inc/LLC/Ltd.",
929
933
  "Do not use {{company_name_normalized}} in outreach copy; it is an internal company match key for fallback lookup/debug use.",
930
934
  "Do not use this when the user explicitly asks for template-based automated sending without review.",
@@ -933,6 +937,7 @@ SEQUENCE_RECIPE_NOTES: Dict[str, List[str]] = {
933
937
  *_SEQUENCE_CAMPAIGN_INTAKE_NOTES,
934
938
  "Alias of bulk_automated. Use this when the user explicitly asks to automate sending without manual review.",
935
939
  "Template-based automation uses fixed subject/body templates with executionMode=AUTOMATED and emailSendMode=AUTOMATED.",
940
+ "Template-based automation should use aiDraft=false unless the user explicitly opts into trusted automated AI generation.",
936
941
  "Use {{company_name}} for normal company display copy and {{company_name_clean}} when copy should strip legal suffixes like Inc/LLC/Ltd.",
937
942
  "Do not use {{company_name_normalized}} in outreach copy; it is an internal company match key for fallback lookup/debug use.",
938
943
  "Do not set aiDraft=true for the template automation path unless the user explicitly opts into trusted automated AI sending.",
@@ -955,6 +960,7 @@ SEQUENCE_RECIPE_NOTES: Dict[str, List[str]] = {
955
960
  "Supported step kinds: LINKEDIN_VISIT_PROFILE, LINKEDIN_CONNECT, LINKEDIN_CHAT_MESSAGE, LINKEDIN_VOICE_MESSAGE.",
956
961
  "LINKEDIN_VISIT_PROFILE is always AUTOMATED and visits the lead's profile (notifies by default).",
957
962
  "For manual AI-drafted LinkedIn steps, set executionMode=MANUAL, aiDraft=true, and scriptTemplate=\"\".",
963
+ "If a LinkedIn or email step has exact copy in scriptTemplate/subjectTemplate/bodyTemplate, set aiDraft=false; create/update rejects mixed template plus AI-draft mode by default.",
958
964
  "LINKEDIN_CONNECT drafts a connection request; invite notes must stay under 300 chars.",
959
965
  "LINKEDIN_CHAT_MESSAGE creates a direct-message task after connection is accepted.",
960
966
  "LINKEDIN_VOICE_MESSAGE sends a voice note; only works for 1st degree connections.",
@@ -983,8 +989,9 @@ SEQUENCE_RECIPE_NOTES: Dict[str, List[str]] = {
983
989
  "task_id is the bulk-job id; use autotouch jobs watch --job-id <TASK_ID> or pass --wait.",
984
990
  "Set reviewOnly=true to stage enrollments on DRAFT/PAUSED sequences without starting them yet.",
985
991
  "For bulk Instantly/Smartlead sequences, email senders are selected on the sequence/provider campaign with autotouch sequences sync-accounts, not senderAccountIds on each enrollment.",
986
- "Easy path: set assignedToUserId and omit senderAccountIds/assignmentPlan so execution uses that owner's default connected sender accounts.",
987
- "Advanced/team path: use senderAccountIds for one explicit sender, or assignmentPlan with routingMode=round_robin/weighted_round_robin to distribute leads across owners/senders.",
992
+ "Easy path: set assignedToUserId to the task owner and omit senderAccountIds/assignmentPlan so execution uses that owner's default connected sender accounts.",
993
+ "Team-managed path: set assignedToUserId to the manager/reviewer and senderAccountIds to the Gmail/LinkedIn accounts that should actually send.",
994
+ "Round-robin path: use assignmentPlan with routingMode=round_robin/weighted_round_robin to distribute leads across owners/senders.",
988
995
  ],
989
996
  }
990
997
 
@@ -2017,10 +2024,11 @@ def _workflow_scaffold_research_to_sequence() -> Dict[str, Any]:
2017
2024
  payload=_to_sequence_payload(source_lead_column="sync_to_leads"),
2018
2025
  table_scope="source",
2019
2026
  notes=[
2020
- "Set sequenceId and assignedToUserId before creating the column.",
2027
+ "Set sequenceId and assignedToUserId before creating the column. assignedToUserId is the task owner/reviewer, not necessarily the sender.",
2021
2028
  "If the target sequence uses bulk Instantly/Smartlead delivery, choose its provider sender pool with autotouch sequences sync-accounts before enrolling.",
2022
2029
  "Easy path: omit senderAccountIds and assignmentPlan so the assignee's default connected senders are used.",
2023
- "Advanced/team path: use senderAccountIds for one explicit sender; use assignmentPlan with routingMode=round_robin or weighted_round_robin for team routing.",
2030
+ "Team-managed path: use senderAccountIds when the manager/reviewer differs from the mailbox or LinkedIn sender.",
2031
+ "Round-robin path: use assignmentPlan with routingMode=round_robin or weighted_round_robin for team routing.",
2024
2032
  "Keep skipActiveSequenceConflicts=true unless the user explicitly wants parallel enrollment for people already active in another sequence.",
2025
2033
  "AI-draft sequence steps should default to manual review until users trust the outputs.",
2026
2034
  ],
@@ -2621,6 +2629,7 @@ def _workflow_scaffold_lead_finder_to_sequence() -> Dict[str, Any]:
2621
2629
  ],
2622
2630
  "notes": [
2623
2631
  "The target sequence must already be ACTIVE before the final add_to_sequence run.",
2632
+ "Set assignedToUserId to the task owner/reviewer. Add senderAccountIds only when the work should send from a different user's connected mailbox or LinkedIn account.",
2624
2633
  ],
2625
2634
  }
2626
2635
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: autotouch-cli
3
- Version: 0.2.113
3
+ Version: 0.2.114
4
4
  Summary: Autotouch Smart Table CLI
5
5
  Project-URL: Homepage, https://app.autotouch.ai
6
6
  Project-URL: Documentation, https://github.com/nicolonic/autotouch_main/tree/main/docs/research-table/reference
@@ -185,13 +185,15 @@ When a user asks to create a campaign sequence, distinguish these separate decis
185
185
 
186
186
  If the user says "automate the sequence" without asking for AI-written sends, choose the template-based automated path. Offer manual AI-draft review as the higher-personalization path, but call out that it creates upfront manual tasks while the system learns.
187
187
 
188
+ Do not mix `aiDraft=true` with non-empty `subjectTemplate`, `bodyTemplate`, or `scriptTemplate`. Template fields send exact variable-filled copy when `aiDraft=false`; AI-draft steps should leave template fields empty and use sequence/source-table context. The CLI and developer-key API reject the mixed shape.
189
+
188
190
  For bulk Instantly/Smartlead sequences, email sender accounts live on the provider campaign, not on each enrollment. Use `autotouch sequences sync-accounts --sequence-id <SEQUENCE_ID> --account-selection all_eligible` for the org's eligible provider-account group, or `--account-selection selected --selected-account sender@example.com` for specific provider mailboxes. For personal mailbox or LinkedIn steps, use enrollment sender routing only when the user asks for explicit sender pinning or team routing.
189
191
 
190
192
  Keep `requiredVariables` limited to variables that the sequence actually needs. If a variable is listed there, every provider enrollment must hydrate it from lead context, research-table mappings, or explicit overrides; unused required variables can block an otherwise valid bulk campaign.
191
193
 
192
194
  Version guard:
193
195
 
194
- - Use `autotouch --version` before relying on recipe defaults. This repo expects `autotouch-cli` `0.2.112` or newer.
196
+ - Use `autotouch --version` before relying on recipe defaults. This repo expects `autotouch-cli` `0.2.114` or newer.
195
197
  - If `python3 -m pip install -U autotouch-cli` upgrades the package but `which autotouch` still points at an older shim, run the upgraded binary directly or fix PATH before creating production sequences.
196
198
  - Before authoring a LinkedIn sequence, inspect the live recipe:
197
199
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "autotouch-cli"
7
- version = "0.2.113"
7
+ version = "0.2.114"
8
8
  description = "Autotouch Smart Table CLI"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"