close.createSms creates, sends, schedules, or logs a Close SMS.
automations/close-create-sms.automation.ts
Inputs
Providestatus: draft, scheduled, outbox, sent, inbox, or error. scheduled requires dateScheduled; both scheduled and outbox require localPhone. sendIn accepts 0–59 seconds, and sendToInbox controls whether Close adds the sent message to the inbox. Optional fields cover lead/contact, direction, local, and remote E.164 numbers, source, text, user, template, timing, and Close-uploaded attachments with supported MIME types. Optional second argument { account } selects a named Close binding.
Output
Returns the createdCloseSms. Use source: "External" when logging a message sent outside Close.