Create a play (draft)
gtm_create_playCreate a fully-configured play in one call: the product (an existing productId, or a websiteUrl which seeds one and kicks its research), the play itself, the ICP facets, which sourcing lanes are on, the autonomy ladder and the caps. Three rules are enforced server-side and cannot be talked around. (1) activate DEFAULTS TO FALSE — turning a play on spends the month's lead quota and takes real actions from the user's own LinkedIn account, so hand the human the returned cockpit link and let them press go. (2) A play with no live LinkedIn seat stays a draft whatever you pass. (3) Autonomy rules are written ONLY for the steps you name; every step you omit keeps gtmotto's own default, which is 'wait for a human'. Lanes that need their own seeds (post_engagers, competitor_posts, account_list) are refused if switched on without them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icp | No | The audience, as plain strings — the same seven fields the cockpit's ICP screen fills. gtmotto compiles them into a LinkedIn search and normalises odd labels itself ('Swiss' → Switzerland, 'Fintech' → Financial Services). | |
| goal | No | What a conversation from this play should reach. | |
| name | Yes | The play's name. | |
| voice | No | How the messages should sound. | |
| sources | No | The sourcing lanes to configure. | |
| activate | No | Default false. True only starts it if a live seat is already connected. | |
| autonomy | No | Only the rungs you name are written. Omitted rungs wait for a human. | |
| dailyCap | No | Actions per day, all kinds summed. Defaults to the seat's full LinkedIn allowance (145), so pass it only to throttle. ACCOUNT-level: sets the ceiling every play on this LinkedIn account shares, not a per-play budget. | |
| productId | No | An existing product. Omit to create one. | |
| websiteUrl | No | Seeds a NEW product from this website and kicks its research. | |
| productName | No | Defaults to the website's hostname. | |
| workingHours | No | e.g. { start: '09:00', end: '18:00', tz: 'Europe/Paris' }. ACCOUNT-level, like dailyCap. |