---
title: "Get SignNow Invite Data"
url: "https://docs.signnow.com/docs/apex-get-invite-data"
type: "page"
section: "Integrations"
slug: "apex-get-invite-data"
---

# Get SignNow Invite Data

# Apex action: Get SignNow Invite Data

> Before configuring this Apex action, review the [prerequisites](/docs/salesforce-apex-actions#prerequisites) for SignNow Apex actions and complete the required setup steps.

The **Get SignNow Invite Data** action allows users to retrieve a JSON response with document(s) data, which can be parsed and used for other purposes.

The JSON contains the following details:

- invite ID
- document group ID
- recipient emails
- information about fields (type, name, value, true/false for signature fields)
- value of the image field with the image URL, and more.

Let's build the example flow where clicking a button in Opportunity displays the signature invite data.

## Step 1. Configure a flow

Start by creating a screen flow.

![apex_invite_data_screen.png](/reference-assets/images/SignNow_Salesforce/apex_actions/apex_invite_data_screen.png)

Click the **+** icon and select the **Get SignNow Invite Data** action.

Configure the action.

- Enter an action label and brief description to locate the flow.
- Specify the input values for the SignNow action. In our example, only the SignNow invite ID is required.

> You can enter the invite ID manually or connect the SignNow invite ID field to a resource that stores the invite data.

![apex_invite_data_action.png](/reference-assets/images/SignNow_Salesforce/apex_actions/apex_invite_data_action.png)

Next, let’s configure the screen element. 

Click **+** icon and select **Screen**.

Configure the screen’s settings.

- On the Components tab, select **Display Text**.
- Add the API name
- In the **Resource** field, select **Outputs from Get_Invite_Data** action.

![apex_invite_data_screen_settings1.png](/reference-assets/images/SignNow_Salesforce/apex_actions/apex_invite_data_screen_settings1.png)

- Select the type of data to be displayed: `data` and `error`.
- (Optional) Use the formatting panel to format data and error text.
- Click the [Flow Label] to add a label for the screen.
- Click **Done** to save the settings.

![apex_invite_data_screen_settings2.png](/reference-assets/images/SignNow_Salesforce/apex_actions/apex_invite_data_screen_settings2.png)

Once the configuration is ready, click **Save** and activate the flow.

## Step 2. Create and deploy a button

[Create and deploy the **Display invite data** button](/docs/add-action-page-layout) that will display the invite information on the Opportunity.

Let’s check how the button works.

Go to any Opportunity, find **Display invite data**, and click it. 

The information about the signature invite has been retrieved.

![apex_invite_data_button_result_new.png](/reference-assets/images/SignNow_Salesforce/apex_actions/apex_invite_data_button_result_new.png)

---

View the full list of [SignNow Apex actions](/docs/salesforce-apex-actions).


---
*Full page: https://docs.signnow.com/docs/apex-get-invite-data*
