Smartico Extension (iGaming): Message Sending October 25, 2024 12:56 Updated Index: Introduction How does it work? Installation Support Introduction The Smartico extension allows for the sending of messages with templates and variables, both individually and in bulk, directly through Smartico. Additionally, this extension makes it easy to send personalized messages based on the provided data. How does it work? The Smartico extension offers the following features: Sending active messages, with templates and variables, either individually or in bulk, integrating the Blip platform with iGaming Smartico. Installation Installing the Extension First, install the extension in your Blip environment. At this point, no additional steps are required for installation. After installation, configure the template that will be used to send the message and the variables you wish to use in Smartico. These variables will be populated with data provided by the Webhook. Using Dynamic Variables When configuring the message template, you can use dynamic variables from Smartico, allowing the data created on the platform to be directly integrated into the message template sent. To do this, you need to create the desired variables in the “Data in Automation Rules” field. After creating the data, configure the variable field as [body.variableName]. This will be the variable used to fill in the field in the message template. Next, you will see a message similar to this: 'Hello Id123, welcome.' Here, 'Id123' corresponds to {{state.user_id}}, which is the user ID in Smartico (smartico_user_id). URL Generation After configuring the template and variables, a URL will be generated automatically. This URL will be used to integrate Smartico and send messages directly. Webhook Implementation in Smartico To send messages from the extension and correctly configure the Webhook in Smartico, follow these steps: Select the activity type as Webhook In the Smartico panel, go to the tab where automation rules can be created. Within the available action options for automation rules, choose the Webhook activity to start the integration. Fill in the Webhook URL field with the link generated by the Blip extension Use the URL generated in the previous step to fill in the Webhook URL field. This URL will already be configured with the message template data. Select the POST method In the method field, select POST, which is the method used to send messages via Webhook. Set the Content-Type to application/json In the headers field, set the Content-Type to application/json. This ensures that the data is sent in the correct format. Configure the Data (variables) in the Data field In the Data field, you can define the variables that will be used in the message. These variables will be dynamically replaced in the message template when sending the Webhook.In addition to the variables you want to send, it is mandatory to include a field called "phoneNumber" with the value of the phone number that will receive the message. The phone number must be in international format (e.g., +5511999999999).Example of Data in the Data Field: { "phoneNumber": "+5511999999999", "name": "João Silva", "orderNumber": "12345", "deliveryDate": "10/09/2024"} In the following example, the "phoneNumber" field contains the phone number that will receive the message. The other variables (name, orderNumber, deliveryDate) are filled with the values that will be used in the message template. Support If you have any questions or encounter any issues with the extension, please contact us at support@whitewall.dev. For more information, visit the discussion on the topic in our community or check out the videos on our channel. 😃 Related articles Smart Sales - Conversational Commerce Word Blocker Extension How to Install the HubSpot Integration App Submitting data for analysis through Webhooks Queue Assistant