For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to create a "Call", "Send an SMS", or "Send an email" button to an In-App message?

See how you can direct users to their default phone, email or sms app by simply clicking an In-App button.

In-App messages allow you to trigger a wide variety of actions when users click a button, including opening the default phone, SMS, or email app with a predefined phone number or email address. This can be done by using links such as:

  • tel:+00XXXXXXXXX: opens the default phone app. Users just need to press the call button to call the phone number included in the link.

  • sms:+00XXXXXXXXX: creates a draft in the default SMS messaging app. Users only need to type a message and click "Send" to send an SMS to the linked phone number.

  • mailto:example@domain.com: creates a draft in the default email app. Users only need to type a message and click "Send" to contact the linked email address.

These links improve the user experience: users are redirected to their default app with the phone number or email address already filled in, instead of having to copy-paste it and open the app manually.

Here is how to use these links in an In-App automation or a Mobile Landing.

Creating a "Call" button in an In-App message

To redirect users to their phone app:

  1. In the Composer, select the button of your message.

  2. In the Action field, select Deeplink and enter the phone number in this format: tel:+33123456789

Depending on their device, here is what the redirect could look like once users click the "Contact Us" button:

Creating a "Text" button in an In-App message

To redirect users to their SMS app:

  1. In the Composer, select the button of your message.

  2. In the Action field, select Deeplink and enter the phone number in this format: sms:+33123456789

Creating an "Email" button in an In-App message

To redirect users to their email app:

  1. In the Composer, select the button of your message.

  2. In the Action field, select Deeplink and enter the email address in this format: mailto:experts@batch.com

Depending on their device, here is what the redirect could look like once users click the "Contact Us" button:

We recommend adding an emoji that clarifies the action that will follow in the CTA.

Ex: ✉️ Contact us vs 📞 Contact us

Last updated