---
schema_version: "1"
id: 00575dc704b4c5344d3e5ef4472e61976a3a95687abfd780b04504698fd171b4
title: Health | Generate Provider Directory Search Payload
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_hc_gen_prvd_srch_payload.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_hc_gen_prvd_srch_payload.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 529631640fd7bfdff93f06a7372651181b3ca746c5101857050312ed06f04021
description: Generates the payload for searching the provider directory based on the user's utterance. Summarizes the JSON generated by the Generate Provider Directory Search Payload prompt template.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Health | Generate Provider Directory Search Payload

Generates the payload for searching the provider directory based on the user's utterance. Summarizes the JSON generated by the Generate Provider Directory Search Payload prompt template.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions with Health Cloud and Agentforce for Health Cloud add-on licenses</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d54834e64">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d54834e64 ">To execute actions for Health Engagement patient and member-self service:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d54834e64 ">
            <p>Health Cloud Foundation</p>
            <p>AND</p>
            <p>Prompt Template User</p>
            <p>AND</p>
            <p>Data Cloud Architect</p>
            <p>AND</p>
            <p>Data Cloud User</p>
            <p>AND</p>
            <p>Marketing Cloud Manager</p>
            <p>AND</p>
            <p style="margin-bottom:0;">Member Self Service Agent Access</p>
          </td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d54834e64 ">See <a href="https://help.salesforce.com/s/articleView?id=ai.agent_actions_common_perms.htm&amp;type=5&amp;language=en_US" target="_blank">Common User Access for Standard Agent Actions</a>.</td>

        </tr>
      </tbody>
    </table>

## Action Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:50%"> <col style="width:50%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">API Name</td><td class="slds-cell-wrap" style="vertical-align:top;">GenPrvdDirSearchPayload</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Prompt Template</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td><td class="slds-cell-wrap" style="vertical-align:top;">Yes</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Required Setup</td><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=ind.hc_admin_health_engmt_agentforce_overview.htm&amp;type=5&amp;language=en_US" target="_blank">Agentforce for Health Engagement</a></td></tr></tbody></table>

## Generate Provider Directory Search Payload and Prompt Templates

This agent action calls the Generate Provider Directory Search Payload prompt template to generate the JSON FHIR payload for fetching provider directory based on the user’s utterance.