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

# Get SignNow Send Invite URL

# Apex action: Get SignNow Send Invite URL

> 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 Send Invite URL** action allows users to create a link for sending the document group for signature.
In this example flow, we will configure a Screen Flow that retrieves the link for sending the document group.

## Prerequisites

- Go to **Setup** > **Flows** > **New Flow.**
- Select **Screen Automations > Screen Flow**.

![get_dg_flow_type.png](/reference-assets/images/SignNow_Salesforce/apex_actions_2/get_dg_flow_type.png)

## Step 1. Add the SignNow action

- Click the **+** icon to add the **Get SignNow Send Invite URL** action to the flow.
- Add a label: **Get SignNow Send Invite URL**.
- Set input values**:**
    - **Redirect URL:** Enter the URL which will open after a user finishes editing the document group.
    - **SignNow Document Group ID:** Add the Document Group ID (enter a value manually or select a resource).
    - **Record ID (optional):** Add the Salesforce Record ID.
    - **SignNow Document Flow ID (optional):** If the Document Flow is added, the document group will open with pre-configured settings.
    - Type (optional): Specifies the sending step at which the link should open and to control what actions the sender can perform.
    - **`manage`**: The link opens on the **Add documents to document group page** (default).
    - **`edit`**: The link opens in the editor, allowing the sender to add fields and send the invite.
    - **`send-invite`(default)**: The link opens on the **Send Invite** page.

![get_send_invite_url_action_settings.png](/reference-assets/images/SignNow_Salesforce/apex_actions_2/get_send_invite_url_action_settings.png)

## Step 2. Add a screen element

Add a screen to display the generated link for sending the document group for signature.

- Click the **+** icon below the SignNow action and select **Screen**.
- Add a label: `Display send invite URL`.
- In the Components panel on the left, select **URL**.
- Add an API name: `Send_Invite_URL`
- In the **Value** field, select `Outputs from Get_SignNow_Send_Invite_URL` > `SignNow Send Invite URL`.

![get_send_invite_screen_settings.png](/reference-assets/images/SignNow_Salesforce/apex_actions_2/get_send_invite_screen_settings.png)

- Click **Done** to save the screen settings.

## Step 3. Finalize the flow

- Click **Save**.
- **Activate** the flow.

## Step 4. Create a flow action and add it to the Opportunity layout 

[Create an action](/docs/add-action-page-layout) that will show the screen with the sending URL and add it to the Opportunity. 

## Result 

Users can now click the Editor URL button on any Opportunity to generate and view the link for editing the specific document group. The link can be embedded in an iframe using a Lightning Web Component (LWC) that wraps the standard HTML <iframe> tag.

---

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


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