Source: https://fyno.docs.pageloop.ai/documentation/advanced-features/workflows/nodes-and-actions/template-search

# Template Search Widget

The **Template Content Key** configuration is used to map payload fields to the content placeholders defined within a template. This helps dynamically populate template data during workflow execution.

Users can select keys directly from the payload mapper based on the available workflow payload structure.

## Steps to configure Template Content Key

1. Navigate to the **Template Content Key** field within the workflow configuration.
2. Enter or select the payload key that corresponds to the template content.

   The mapper displays available payload fields grouped by sections such as:
   - BODY
   - METHOD
   - CONTENTTYPE
   - Additional payload groups
3. Select the required payload key from the mapper list.

   Example keys:
   | Section     | Example Key      |
   | ----------- | ---------------- |
   | BODY        | `data.[#index#]` |
   | BODY        | `custom1`        |
   | METHOD      | `method`         |
   | CONTENTTYPE | `contentType`    |
4. Once mapped, the selected payload value will dynamically populate the template content during workflow execution.

> [!NOTE]
>
> The available mapper fields depend on the workflow payload and the response structure configured in previous workflow steps.
