Draft Email Survey
draft_email_surveySave a survey with stable surveyId, expectedRevision and draft {name,title,description,communityId,questions:[{id,label,type:text/select/multiSelect/number,required,options?}]}. Up to30 questions and30 choices. Published question IDs retain their meaning: use a new question ID when changing wording, type or choices. Saving does not publish or contact anyone. Choice/number answers can target an audience with surveyAnswer rules (surveyId,questionId,op:eq/contains/gte/lte/known/unknown,value); surveyAnswered supports eq0/1 or known/unknown. Personalization permission is rechecked at dispatch; free text is not a targeting predicate. Workflow guide (MCP resource): socialloop://guides/email-campaigns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| payload | Yes | Action parameters used by the web workspace: IDs, expectedRevision, draft/definition, cursor, and reviewHash where required. Identity is supplied by the connected account. |