Summary
This article describes the step-by-step process of creating the Integration for sending Magento order status update to the customer using the Magento and Twilio connectors in webMethods.io Integration.
Prerequisites
-
The user needs to have active Magento E-commerce and a Twilio account.
-
Active webMethods.io Integration cloud tenant.
Contents
- Section 1: Configure Magento E-commerce and Twilio accounts in webMethods.io Integration
- Section 2: Creating the integration for sending order status update message.
Steps
Section 1: Configure Magento E-commerce and Twilio accounts in webMethods.io Integration
-
Login to webMethods.io Integration tenant
-
Create a new project or choose an existing project if required.
-
Switch to Connectors tab.
-
Search and select Magento E-commerce platform connector.
-
Select Custom OAuth Type and proceed to next page.
-
Fill in Server URL, Consumer ID, Consumer Secret, Access Token and Access Token Secret and create the account.
-
To create account for Twilio connector, search and select Twilio.
-
Fill in Server URL, Username and Password and create the account.
Section 2: Creating the integration for sending order status update message.
-
Switch to Workflows tab and create new Workflow.
-
To configure the workflow trigger, click on the Settings icon in the workflow palette.
-
Fill in the trigger name and select the trigger i.e., Order status updated and Magento E-commerce platform account created in previous section.
-
Add all Order statuses for which message has to be sent to customer.
-
Test the trigger to confirm if it is functioning as expected or skip and proceed to next page.
-
Review trigger configurations and save.
-
To configure the Twilio action, drag and drop Twilio connector to workflow palette.
-
Double click on Twilio connector icon in palette and click on + to add new action.
-
a. Select the Twilio account created in previous section.
b. Fill in the action name
c. Select “Messages” functional area.
-
Select Send message resource.
-
Review custom action details and save.
-
Select pre-configured custom action and account for Twilio.
-
Provide the Twilio account sid , from telephone number and map customer’s telephone number from trigger response to To field.
-
Construct message content according to order status received in the trigger response.
.
-
Test and save the action.
-
Workflow is now ready, order status update messages will be sent to customers whenever the seller posts a status update.