---
title: "Get WhatsApp Template"
description: "Fetch one Twilio WhatsApp Content template by Content SID."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/whatsapp/get-template"
---
# Get WhatsApp Template

> Fetch one Twilio WhatsApp Content template by Content SID.

<block-meta block="Yes" capability="WhatsApp" channels="Any" folder="twilio/whatsapp" group="WhatsApp" groupTo="/build/workflows/blocks/whatsapp" icon="i-lucide-file-text" pipe="Value" scope="Any" service="Twilio" tool="Yes" type="twilio.whatsapp.get_template">



</block-meta>

**Get WhatsApp Template** loads one Content template from the Twilio connection. Choose a template from the list, or bind a variable that holds the Content SID at run time. Config opens in a dialog.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Content SID
      </strong>
    </td>
    
    <td>
      Twilio Content SID (required). Pick from templates on this connection, or bind a variable
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues after the template is loaded
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`):

<table>
<thead>
  <tr>
    <th>
      Key
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        template.sid
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Twilio Content SID
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        template.friendlyName
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Friendly name
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        template.language
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Language
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        template.variables
      </code>
    </td>
    
    <td>
      object
    </td>
    
    <td>
      Variable map
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        template.types
      </code>
    </td>
    
    <td>
      object
    </td>
    
    <td>
      Content types
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        template.approval.status
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      WhatsApp approval status
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        template.approval.category
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Approval category
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        template.approval.name
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Approval name
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        template.approval.rejectionReason
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Rejection reason when rejected
    </td>
  </tr>
</tbody>
</table>

## Use case

- After [List WhatsApp Templates](https://docs.vettero.com/build/workflows/blocks/whatsapp/list-templates), load one SID to check approval before sending.
- Read `template.variables` so an agent or later step can fill [Send WhatsApp Template](https://docs.vettero.com/build/workflows/blocks/whatsapp/send-template).

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
