Create Sending Strategy
li_create_strategyCreate a reusable sequence template: which post-acceptance steps to send, the delay in hours before each, and connectionWaitHours (how long to wait after the invite is accepted before the first message). A sequence may hold AT MOST 4 messages, chosen from the five kinds (first, followup_1..3, closer) — a fifth message is refused. Check li_list_strategies first: an existing template may fit, and names are unique per team. Dry-run unless confirmCreate=true; the preview returns the validated steps and any errors, the confirmed call the new strategy with its id for li_create_campaign / li_ingest_prospects. Steps are snapshotted onto each prospect at import, so fixing copy already queued is li_bulk_edit_steps or li_edit_step, not a new strategy. It belongs to YOUR team (the reply's owner says whose). An operator credential with no team must name the account whose team owns it (sessionLabel) or pass shared:true; it is never published to every team by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name, unique within your team (check li_list_strategies first) | |
| steps | Yes | Ordered steps, at most 4; must start with {kind:"first", delayHours:0} | |
| shared | No | Operator only: true publishes it as a shared template every team sees. Never the default. | |
| sessionId | No | Operator only: the account whose TEAM owns it. Members' creates are their team's. | |
| description | No | Optional note on when to use this template | |
| sessionLabel | No | Operator only: the account whose TEAM owns it. Members' creates are their team's. | |
| confirmCreate | Yes | Must be true to write the strategy to the database | |
| connectionWaitHours | No | Hours to wait after a connection is ACCEPTED before sending the first message (default 24) |