---
schema_version: "1"
id: 9b4bd98088de01c3d46daf8ac9d575221290d9ff43634a58fc6af67bd51580ae
title: Health | Generate Member 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_member_srch_payload.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_hc_gen_member_srch_payload.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 52e5b90a4e99898e04608f575cb6d90324d354ec37f9e039b117a3dce19cec9f
description: Generates the payload for searching the member details based on the user's utterance. Summarizes the JSON generated by the Generate Member Search Payload prompt template.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Health | Generate Member Search Payload

Generates the payload for searching the member details based on the user's utterance. Summarizes the JSON generated by the Generate Member 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="d21690e64">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d21690e64 ">To execute actions for Health Engagement patient and member-self service:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d21690e64 ">
            <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="d21690e64 ">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;">GenMemberSearchPayload</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 Member Search Payload and Prompt Templates

This agent action calls the Generate Member Search Payload prompt template to generate the payload for searching member details based on the user’s utterance.