This article guides you through the process of creating and translating a pre-installed automation that sends SMS messages. You'll learn how to translate the message content to make it accessible in various languages. Translating SMS messages allows site owners to send automated messages in their preferred language and effectively engage with site visitors.
To create a pre-installed automation, you first need to build the automation on a site. Create an automation that sends an SMS message as its action.
Select an app from the Custom Apps page in your Wix Studio workspace.
Go to Automations in your app's dashboard.
Click Create New > Pre-installed automation.
Click Select a site to create the automation, then select a site that your app is installed on. This action opens the Automations page on your site's dashboard in a new browser tab.
In your site's dashboard, click + New Automation. Configure a trigger for your app by selecting one of the available triggers. You can use any trigger created by Wix or a 3rd-party. Learn more about automation triggers.
Add the Send an SMS action.
Fill out the message content for your SMS automation and copy the text to your clipboard. Fill out any other relevant fields.
Leave the site open while you complete the next few steps in your app's dashboard.
In order to translate the SMS message, we need to create an SMS Action Message extension. This extension is necessary for managing the SMS automation.
Go to Extensions in your app's dashboard.
Click Create Extension.
Search for the SMS Action Message extension and click Create.
Enter a name for your extension, and then paste the message you copied in the steps above.
Click Save to return to the Extensions page in your app's dashboard.
Translate the message content into the available languages of your choice. Each individual translation for the SMS needs to be activated.
Go to Translations in your app's dashboard.
Add languages for the translation by clicking + Add Language.
Enable the Activate option on your extension in each language intended for translation.
Click Translate to translate the SMS.
Enter the translation for your SMS message and click Save.
Important: You must manually translate and update the SMS message content for each language you select. Updates to the content in one language aren't applied across all languages. Make sure to follow steps 3 through 5 for each language you translate your message to.
Activate the pre-installed automation using your Wix site:
Go to Dashboard in your app's dashboard and copy the App ID.
Return to the site where you started to create the automation in Step 1. Scroll down to the section labeled Translate the message.
Paste the app ID you copied from the app dashboard, and select your extension name from the dropdown.
Click Add Recipients and select Contact phone from the dropdown.
Click Activate and give your automation a name when prompted.
To complete the automation's configuration and save it to the app, you need to generate a link for your automation from your Wix site and export it to the app dashboard.
While still on the site, find the automation you created under the Created by you tab in the automations section of your site dashboard. Click the actions menu and select Generate link.
Copy the generated automation link.
Return to Automations in your app's dashboard. If the tab was closed, click Create New > Pre-installed automation.
Paste the generated automation link you copied from your site's dashboard.
Configure the pre-installed settings.
Click Save & close.
View your new automation under the Pre-installed tab on the Automations page in your app's dashboard.
Once your automation is fully set up, use your site to see how your SMS message translations will be displayed to your app's users.
Return to the site you used to create the automation, and go to your account settings.
Change the business manager language to one of the languages selected in section 3.
Go to the Automations page on your site dashboard. Note that your site is now displayed in a different language.
Find your automation and click View Summary.
Click Edit Action.
Scroll down to the Translate the message section.
You'll see the SMS message translated into the current language of the site.
Learn how to test your pre-installed automation. Don't forget to submit your app for review.