await step.sms('sms', async () => {
    return {
        body: 'A new post has been created',
    };
});

The sms step allows you to send a message to a SMS channel. This is useful when you need to send an SMS message directly to a users device over a mobile network.

SMS Output

await step.sms('sms', async () => {
    return {
        body: 'A new post has been created',
    };
});
body
string
required

The message to be sent.

SMS Result

The sms step does not return any result object.