How to set up the "@stella template" command for a CS agent to use the template and send it to the customer in WhatsApp?

How to set up the "@stella template" command for a CS agent to use the template and send it to the customer in WhatsApp?

1. Create a tree node in the WhatsApp tree with the WhatsApp message template response to users. Please click here for the set up details.

2. Set up a Slack command (both tree and global node) for sending the template in the slack tree and add below pre-action [Slack - Redirect inlet member to whatsapp template node] in the tree node:
return new Promise(async(resolve) => {
const group = await this.getGroupByExternalId({
adminExternalId: this.messageEvent.from,
active: false,

const member = await this.getMember({ memberId: group.member })
await this.redirectMemberToNode({
memberId: member._id,
treeId: "5f61cf674eeccd0008c53974",
nodeCompositeId: "mO9i0OS16PAs3Dyp",
channelId: "5e747a9f1a56b300082a9a0a

3. Fill in the treeId and nodeCompositeId of the WhatsApp tree node and the channelId (of the WhatsApp channel) which is highlighted in the above action.

4. You could also add a response in the slack tree node to inform the CS the template is sent.

Please click here to see the related documentation and set up preaction to node here.

    • Related Articles

    • What is a template message?

      Templated Messages Message Templates are message formats for common reusable messages a business may want to send. Businesses must use Message Templates to send notifications to customers. This allows a business to send just the template identifier ...
    • Can we send out custom template in sandbox?

      Yes, you could create and send out a custom template (not the sample template provided by WhatsApp) with a sandbox number. In order to send Templated Messages on WhatsApp, you must first submit the message content to the WhatsApp team for approval on ...
    • Can we send 2 images in the WhatsApp template?

      No, you could only include 1 image or media in a WhatsApp template. Please either use a Media ID or URL to send a media, no need to fill in both fields.  Please refer to our documentation here on how to submit a WhatsApp template message.
    • What is Stella Inbox?

      Stella Inbox is a useful application for customer service that provides you with easy and convenient functions to handle WhatsApp inquiries alongside the help of the WhatsApp chatbot. When a customer is interacting with your chatbot on WhatsApp, you ...
    • How to get the id if sending a media template via API?

      The "id" is for the image using media ID, you will need to upload the media to WhatsApp to get the attachment ID first and send then media with ID. The attachment id can be used for a template or normal message. 1. You could upload the file to get ...