---
title: "List WhatsApp Templates"
description: "List Twilio WhatsApp Content templates on the connection."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/whatsapp/list-templates"
---
# List WhatsApp Templates

> List Twilio WhatsApp Content templates on the connection.

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



</block-meta>

**List WhatsApp Templates** loads Content templates from the Twilio connection on this block. There are no extra settings — the connected service is enough.

This lists what Twilio currently stores. Manage create, sync, and Meta approval on [WhatsApp Templates](https://docs.vettero.com/templates/whatsapp-templates).

## Configure

No fields. The block uses the Twilio WhatsApp connection on the node.

## 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 list returns
    </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>
        templates
      </code>
    </td>
    
    <td>
      list
    </td>
    
    <td>
      Template objects (see below)
    </td>
  </tr>
</tbody>
</table>

Each template:

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

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

## Use case

- Inspect which templates are available before [Send WhatsApp Template](https://docs.vettero.com/build/workflows/blocks/whatsapp/send-template).
- Loop with [For Of](https://docs.vettero.com/build/workflows/blocks/loops/for-of) and pick a SID by name or approval status.

<block-page-nav>



</block-page-nav>


## Sitemap

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