LogoLogo
HomePricingLog inSleekFlow 2.0
  • Welcome to SleekFlow 1.0
  • 🏃Getting Started
    • Start Exploring
      • Basic of Inbox
      • Connect first channel
      • Add Channels
      • Invite Users
      • Set up automation
      • Create Saved Reply
      • Broadcast first message
    • Creating a SleekFlow Account
      • Resetting Password
        • Reset Password (mobile)
  • 🕺Using the Platform
    • Inbox
    • Automation
      • Trigger mechanism
      • Default Assignment Rule
      • Conditions
      • Actions
        • Webhook
        • Setting messages automatically to Open, Snooze or Closed
      • Scenarios
        • Incoming Messages
          • Interactive Messages
        • Newly Added Contacts
        • New or Updated Contacts
        • Schedule
        • Outgoing Messages
        • Facebook Rules
        • Instagram Rules
      • Templates
        • 1. Greetings and Assign New Contacts to Staff
        • 2. Auto-Reply for Existing Customers
        • 3. Auto-Reply During Off Business Hours
        • 4. Auto-Reply Based on Keywords
        • 5. Auto-Reply when Customers Reply a Campaign
        • 6. Reassign Returning Customers
        • 7. Segmenting customers from different enquiries
        • 8. Proactively Reach Out to Newly Added Contacts
        • 9. Proactively reach out to newly added contacts from Facebook Lead Ads
        • 10. Send Drip Campaign Messages when Customers Sign Up
        • 11. Notify Customers with New or Updated Status
        • 12. Update Contact Data & Add And Remove From List
        • 13. Schedule Periodic Promotional Messages
        • 14. Send Booking Reminders
        • 15. Send Internal Reminder
        • 16. Auto Close Conversations
        • 17. 於指定時間重新分配對話到其他使用者
        • 18. 新客戶與現有客戶設定不同的歡迎信息
      • Chatbot
        • 1. Send A Welcome Message
        • 2. Learn About your Customers’ Interest
        • 3. Get Your Customers' Company Size
        • 4. Thank Your Customer And Get in Touch
        • 5. Speak Directly To Staff
      • FAQs
    • Contacts
    • Broadcasts
      • Export CSV
      • FAQs - Broadcast
    • Analytics
    • Commerce
      • Payment Links
      • Custom Catalog
      • WhatsApp Catalog
        • Connect WhatsApp catalog
        • WhatsApp Catalog Settings
          • Scenario 1 - Same Currency
          • Scenario 2 - Mixed Currency
          • Scenario 3 - Without WhatsApp Catalog/ Payment integrated
        • WhatsApp Catalog Settings(Mobile)
          • Scenario 1 (Mobile) - Same Currency
          • Scenario 2 (Mobile) - Mixed Currency
        • Frequent Asked Questions
  • 💬Messaging Channels
    • WhatsApp (Official) - SleekFlow
      • Application process
        • Turn on 2FA on Facebook account
        • WhatsApp Business Account Tiers
        • Delete WhatsApp account
        • FAQs - During WhatsApp application
        • Migrate from other BSPs
          • How to identify On-Premise and Cloud API BSPs
          • Turn off WhatsApp Number Two-step verification
      • Facebook Business Verification
        • Check Business Verification Status
        • If your Facebook Business Verification icon is greyed out
        • What to do if your Facebook Business Verification has failed
      • Messaging Limits
      • Template Manager (Cloud API)
        • Call to Action button (Dynamic Url)
      • Blue Tick
      • Backup WhatsApp chats files
      • Upload backup chat file to SleekFlow
      • Update WhatsApp Profile
      • FAQs - WhatsApp (Official) - SleekFlow
      • How to setup Click to WhatsApp ads (CTWA)
      • New WhatsApp Pricing (2023)
    • WhatsApp (Official) - Twilio
      • Applying via SleekFlow
      • Apply via Twilio & Connecting to SleekFlow
        • Add WhatsApp Templates on Twilio
        • Update to Twilio Content API
      • Find your Facebook Business ID
      • Check Business Verification Status
      • Facebook Business Verification
        • If your Facebook Business Verification icon is greyed out
        • What to do if your Facebook Business Verification has failed
      • Submit Facebook App Review
      • WhatsApp Rate Limiting
      • FAQs - WhatsApp (Official) - Twilio
    • WhatsApp (Official) - 360dialog
      • Apply via 360dialog
        • Turn on 2FA on Facebook account
        • WhatsApp Business Account Tiers (360dialog)
        • Add an Additional Number
        • Purchase a Skype number
        • Delete WhatsApp account
        • FAQs - During WhatsApp (Official) application - 360 Dialog
      • Facebook Business Verification
        • Check Business Verification Status
        • If your Facebook Business Verification icon is greyed out
        • What to do if your Facebook Business Verification has failed
        • Submit Facebook App Review
      • Messaging Limits
      • Manage Templates
      • Backup WhatsApp chats files
      • Upload zip file to SleekFlow
      • Green Tick
      • FAQs - WhatsApp (Official) - 360dialog
    • Facebook Messenger
      • One-time Notification & Message Tags
      • Facebook Messenger Broadcast
    • Instagram
      • Convert to Business IG account
      • Connect Facebook page
      • Supported Message
      • Allow access to Messages
      • Frequently Asked Question
    • WeChat
    • Line
    • SMS
    • Viber
      • Viber Campaign
    • Telegram
      • Telegram Campaign
  • 🗣Live Chat Widget
    • Setting up Live Chat
    • Install on Shopline
    • Install on Wix
    • Install on Magento
    • Install on Squarespace
    • Install on Shopify
    • Install on Wordpress
    • Google Tag Manager
  • 🔗App Integrations
    • Zapier
    • Shopify
      • Enable Custom App
      • Create Custom App
      • FAQs - Shopify integration
    • Stripe
    • Facebook Lead Ads
    • Salesforce CRM
    • HubSpot CRM
    • API
    • Make
  • 📌Settings
    • General Info
    • SleekFlow Two-Factor Authentication
      • Enroll SleekFlow 2FA
    • Inbox Settings
      • Inbox
      • Labels
      • Saved Reply
    • User
    • Team
    • WhatsApp QR Code
    • Plans & Billings
    • Official WhatsApp Settings
      • Template Manager
      • Opt-In Button
      • Billing
  • 📩Messaging API for WhatsApp
    • Messaging API for WhatsApp
      • Manage API key
    • Set up webhook for receiving messages
    • Sending Message
    • Create Templates
      • Create Templates (Template API)
      • Create Templates (Facebook Business Manager)
    • Get Template Status
    • Media API
    • Conversation analytics
    • Billing and Payments
  • Contact Support
  • API Documentation
Powered by GitBook
On this page
  • Create Contact
  • Make an API call

Was this helpful?

  1. 🔗App Integrations
  2. Make (v1)

Sending Template (SleekFlow Cloud API)

Sending template message through Make integration

Last updated 2 years ago

Was this helpful?

For SleekFlow Cloud API WhatApp channel ONLY.

Create Contact

First, you will have to Create a Contact in the scenario

Fill in the required fields.

Phone Number and Email are the main fields that you have to fill in.

Make an API call

To send a message through SleekFlow to the contact that you have created you will have to choose Make an API call .

Fill in the URL which is standardized so that you can copy and paste this Message/Send/json

In the Body field, you will have to paste the Payload of the template that you prefer to use.

In the Template Payload that you have pasted the Body field, you will have to fill in the "From" and "To" section.

In the From section fill in your WhatsApp phone number in between the Quotation mark ("")

In the To section, just select the phone number of your recipient from the option given based on the image below.

These are the payload that you can copy and paste into the body section based on the type of template that you are sending.

Plain Text

{  
  "channel": "whatsappcloudapi",
  "from": "company phone number",
  "to": "receiver phone number",
  "messageType": "template",
  "extendedMessage": {
     "WhatsappCloudApiTemplateMessageObject": {
          "templateName": "the template name",
          "language": "en",
          "components":  [
              {
                 "type": "body",
                 "parameters": [
                   {
                     "text": "Test time",
                     "type": "text"
                   },
                   {
                     "text": "Test date",
                     "type": "text"
                   }
                 ]
              }
          ]
      }
  }
}

Values that should be added to the payload. "from": Company phone number "to": Receiver phone number "templateName": Exact template name "language": Template language "parameters": "text": Template Variable content.

Plain Text template with a quick reply button


        {
            "name": "optin_1",
            "status": "approved",
            "language": "en",
            "category": "ACCOUNT_UPDATE",
            "components": [
                {
                    "type": "BODY",
                    "text": "\*Notification\*\nHello there! You received a new message from SleekFlow."
                },
                {
                    "type": "BUTTONS",
                    "buttons": [
                        {
                        "type": "QUICK_REPLY",
                        "text": "Read more"
                        }
                    ]
                }
            ],
            "rejected_reason": "NONE",
        }
        // extendedMessage JSON payload:
        {
            "whatsappCloudApiTemplateMessageObject": {
                "templateName": "optin_1",
                "language": "en"
            }
        }

Values that should be added to the payload. "name": Template Name "language": Template language "type": "BODY", "text": Template content "type": "QUICK_REPLY", "text": Quick Reply Button Content

Media Tamplate (Image):

        {
            "name": "sample_purchase_feedback",
            "status": "approved",
            "language": "template language",
            "category": "ISSUE_RESOLUTION",
            "components": [
                {
                    "type": "HEADER",
                    "format": "IMAGE"
                },
                {
                    "type": "BODY",
                    "text": "Thank you for purchasing {{1}}! We value your feedback and would like to learn more about your experience."
                },
                {
                    "type": "FOOTER",
                    "text": "This message is from an unverified business."
                },
                {
                    "type": "BUTTONS",
                    "buttons": [
                        {
                            "type": "URL",
                            "url": "https://www.example.com/",
                            "text": "Take Survey"
                        }
                    ]
                }
            ],
            "rejected_reason": "NONE"
        }
        // extendedMessage JSON payload:
        {
            "whatsappCloudApiTemplateMessageObject": {  
              "templateName": "sample_purchase_feedback",
              "language": "en_US",
              "components": [
                  {
                      "type": "header",
                      "parameters": [
                          {
                              "type": "image",
                              "image": {
                                  "link": "{url of the image}"
                              }
                          }
                      ]
                  },
                  {
                      "type": "body",
                      "parameters": [
                          {
                              "type": "text",
                              "text": "iPhone"
                          }
                      ]
                  }
              ]
          }
      }

Values that should be added to the payload. "name": Template Name "language": Template language "components": "type": "BODY", "text": Template content with the variable as {{1}},{{2}},... "type": "FOOTER", "text": Template footer content

Media Tamplate(Document):

        {
            "isTemplateBookmarked": false,
            "name": "sample_flight_confirmation",
            "status": "approved",
            "language": "en_US",
            "category": "TICKET_UPDATE",
            "components": [
                {
                    "type": "HEADER",
                    "format": "DOCUMENT"
                },
                {
                    "type": "BODY",
                    "text": "This is your flight confirmation for {{1}}-{{2}} on {{3}}."
                },
                {
                    "type": "FOOTER",
                    "text": "This message is from an unverified business."
                }
            ],
            "rejected_reason": "NONE"
        }
        // extendedMessage JSON payload:
        {
            "whatsappCloudApiTemplateMessageObject": {
                "templateName": "sample_flight_confirmation",
                "language": "en_US",
                "components": [
                    {
                        "type": "header",
                        "parameters": [
                            {
                                "type": "document",
                                "document": {
                                    "link": "{url of the document}",
                                    "filename": "example.pdf"
                                }
                            }
                        ]
                    },
                    {
                        "type": "body",
                        "parameters": [
                            {
                                "type": "text",
                                "text": "Flight Name"
                            },
                            {
                                "type": "text",
                                "text": "Flight Number"
                            },
                            {
                                "type": "text",
                                "text": "May 3, 2022"
                            }
                        ]
                    }
                ]
            }
        }

Values that should be added to the payload. "name": Template Name "language": Template language "components": "type": "BODY", "text": Template content with the variable as {{1}},{{2}},... "type": "FOOTER", "text": Template footer content

Finally, Run Once to test out the scenario, if both the icons turn green, that is an indication that the scenario is successful.

Next, you will have to enter the Query String which consists of Key and Value. You can copy and paste apikeyinto the Key field. For the Value field, you have to copy and paste the API key which you can obtain from your under Connect Automation Platform where you can find Make and click on Add. The API key will be presented to you there.

Channels