Skip to content

Update Automation-Sms Draft

Tool name: update-automation-sms-draft

Updates supplied automation SMS settings at the current revision. Settings save only while the SMS has a provider and sender, as in the app. SMS used by active or scheduled automations can be updated, as in the app; the change applies to their next sends. Content and action assignment use separate tools; sends nothing.

Input schema

smsIdinteger, >= 1required
revisionstring^[a-f0-9]{64}$required
settingsobjectrequired
accountIdnull or integer, >= 1
Default:null
Input example
{ "smsId": 1, "revision": "string", "settings": { "name": "string", "notes": "string", "metaLabels": [ "string" ], "smsSenderName": "string", "senderSms": "string", "smsProvider": "", "linkTracking": 0 }, "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 }