---
title: "SignNow Invite Status Update event"
url: "https://docs.signnow.com/docs/apex-invite-status-update-event"
type: "page"
section: "Integrations"
slug: "apex-invite-status-update-event"
---

# SignNow Invite Status Update event

# SignNow Invite Status Update event

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

Users can trigger actions in Salesforce based on SignNow document group events. 

The supported event types are: 

- `document_group.complete`
- `document_group.update`
- `document_group.delete`
- `document_group.invite.create`
- `document_group.invite.update`
- `document_group.invite.cancel`
- `document_group.invite.declined`
- `document_group.invite.signed`
- `document_group.invite.resend`
- `user.invite.expired`

You can retrieve the following data using the SignNow Invite Status Update event: 

1. Event type (for example, `document_group.invite.create`)
2. Initiator ID
3. Timestamp
4. Invite ID
5. Context ID
6. Context Table
7. JSON with other necessary fields fields (for example, signer or `group_invite_id`)

## Step 1. Configure a flow

Let’s configure the flow to update Opportunity records based on the Invite Status Update data.

This time, it will be a platform event.

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

Configure the platform event details.

- Name the event.
- Select the flow initiator.

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

Configure the flow’s decision.

- Add a label and name.
- Add a short description (optional).
- Specify the outcomes and conditions. For our example, the event will be triggered if the object is Opportunity.

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

## Step 2. Configure the Update Records action

Next, configure the **Update Records** action.

- Add a label and name.
- Specify how to find the records to update. For our example, we will set conditions for field updates.
- Specify the object to update.
- Add condition requirements for record update.
- Map field values for Opportunity records. For our example, the `Description` field of the Opportunity will be pre-filled with `Event Type` of the SignNow event, and the `Next Step` field will be pre-filled with `Invite ID`.

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

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

## Result

Each time the signature invite is sent or changes its status, the `Next Step` and `Description` fields are pre-filled with SignNow event data (invite ID and event type).

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

---

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

---
*Full page: https://docs.signnow.com/docs/apex-invite-status-update-event*
