# Action - Update Affiliate -> Workflow Action - Update Affiliate

> Action - Update Affiliate

- Source: https://docs.ghlcustomercare.com/docs/workflows/affiliate-workflow-actions/action-update-affiliate-workflow-action-update-affiliate
- Section: Workflows / Affiliate Workflow Actions
- Reading time: 1 min
- Images: 1, each explained below

---
## Overview

The **Update Affiliate** is designed to update the status of affiliate as either active or inactive.

## Action Name

**Update Affiliate**

## Action Description

The **Update Affiliate** action is designed to update the status of affiliate as either active or inactive.

## Action Details

**Step by Step Guide**

1.  **Choose the Action Type:** Select "**Update Affiliate**" from the list of available actions.
2.  **Name Your Action:** Enter a descriptive name for the action, such as "Update Affiliate as Inactive"
3.  **Select the Status:** Choose if you want to change to status to either active or inactive.
    
    
![Step 3 of 3: Select the Status: Choose if you want to change to status to either…](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/155031801945/original/6z47R4gZoCwDgtVaEtMSVkl4Uzkg4MoyGA.png)

**Step 3 of 3: Select the Status: Choose if you want to change to status to either…**

This screenshot accompanies step 3 of 3 in the "Action Details" section of "Action - Update Affiliate -> Workflow Action - Update Affiliate". At this point in the walkthrough you select the Status: Choose if you want to change to status to either active or inactive.
- What to choose: Select the Status: Choose if you want to change to status to either active or inactive.
- Controls: Step by Step Guide, Update Affiliate

Full procedure:

1. Choose the Action Type: Select " Update Affiliate " from the list of available actions.
2. Name Your Action: Enter a descriptive name for the action, such as "Update Affiliate as Inactive"
3. Select the Status: Choose if you want to change to status to either active or inactive.  <- this image

    

## Example

Mark Affiliates as inactive when they will up a exit form

Scenario: A business wants maintain their list of active affiliates. They have a form which is filled by current affiliates who want to leave the affiliate campaign and network

**Action Setup:**

Action: Update Affiliate

Name: Update Affiliate as Inactive

**Workflow Trigger:**

1.  Form Submitted: The entry point to the workflow will be when the selected form is submitted by an existing affiliate
2.  Filters: Forms is "Affiliate Exit Form"

**Workflow Actions:**

1.  Update Affiliate
2.  Select Mark Affiliate as Inactive

**Outcome:**  
This ensures that whenever an existing affiliate fills up the "Affiliate Exit Form" the affiliate's profile will be marked as inactive so that they can no longer generate commissions and sales.

---

Documentation for GHL Customer Care. Support: support@ghlcustomercare.com