Integrations
SMS
Settings and overrides

SMS settings and overrides

Learn more about how to configure your SMS messages in Knock.

Overriding the default to number

#

By default Knock will send your SMS messages to the phone_number property stored on the recipient for the workflow run. If you need to override this, you can do so by setting the to field in the SMS template settings.

As an example, if you wanted to send an SMS to a single number, you could set the to field to either a static value (like +1234567890) or a dynamic value (like {{ data.phone_number_to_override }}).

Provider JSON overrides

#

Sometimes you may want to customize the API call Knock sends to your SMS provider. A good example of this is passing custom arguments as part of the API payload, or using another feature of the provider that Knock doesn't support out of the box.

You can configure payload overrides at two levels:

  • Channel configuration. When you configure payload overrides on an SMS channel, these overrides apply to all workflow steps that use that channel in the configured environment. You can set this by navigating to Channels and sources in your dashboard account settings, selecting your SMS channel, then clicking "Manage configuration" under the environment you want to configure.
  • Template settings. You can also configure overrides at the template level by clicking the gear icon (⚙️) at the top of the template editor to access the template settings modal.
New chat