Skip to content

Create Automation-Sms Draft

Tool name: create-automation-sms-draft

Creates an independent automation SMS draft with optional settings. Settings, even notes alone, save only with a provider and sender, as in the app; a provider must be connected in the account SMS settings. Does not attach it to an action or send it.

Input schema

namestring, [ 1 .. 250 ] charactersrequired
settingsobject
Default:[]
accountIdnull or integer, >= 1
Default:null
Input example
{ "name": "string", "settings": [], "accountId": null }

Output schema

smsIdintegerrequired
kindstringrequired
revisionstringrequired
namestringrequired
notesstringrequired
metaLabelsArray of stringsrequired
senderstringrequired
providerstringrequired
linkTrackingintegerrequired
plainContentstringrequired
usedByAutomationIdsArray of integersrequired
smartTagsArray of any or objectrequired
deletedbooleanrequired
Output example
{ "smsId": 0, "kind": "string", "revision": "string", "name": "string", "notes": "string", "metaLabels": [ "string" ], "sender": "string", "provider": "string", "linkTracking": 0, "plainContent": "string", "usedByAutomationIds": [ 0 ], "smartTags": { "property1": 0, "property2": 0 }, "deleted": true }