# ShotGrid Webhooks + Zapier workflow - 2022

**URL:** <https://community.shotgridsoftware.com/t/shotgrid-webhooks-zapier-workflow-2022/14946>\
**Category:** Pipeline Integrations\
**Tags:** zapier, webhooks\
**Created:** [March 11, 2022, 10:30am UTC](https://community.shotgridsoftware.com/t/shotgrid-webhooks-zapier-workflow-2022/14946 "2022-03-11T10:30:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jing.liu](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/jing.liu/32/888_2.png) [@jing.liu](https://community.shotgridsoftware.com/u/jing.liu)\
**Post date:** [March 11, 2022, 10:30am UTC](https://community.shotgridsoftware.com/t/shotgrid-webhooks-zapier-workflow-2022/14946/1 "2022-03-11T10:30:47Z")

</div>

I created an article in 2017 [SG Webhooks + Zapier Webhooks + Send Email](https://community.shotgridsoftware.com/t/sg-webhooks-zapier-webhooks-send-email/7307). Now, there are some updates on both ShotGrid and Zapier. Create this article to address the different.

The workflow uses ShotGrid [Webhooks](https://developer.shotgridsoftware.com/3d448f5e/?title=Webhooks) and [REST API](https://developer.shotgridsoftware.com/rest-api)

## **Setup in ShotGrid**

ShotGrid Webhooks setup doesn’t have any change. Please follow [SG Webhooks + Zapier Webhooks + Send Email](https://community.shotgridsoftware.com/t/sg-webhooks-zapier-webhooks-send-email/7307) - `Setup Shotgun Webhooks`.

Let’s focus on the different.  
When ShotGrid migrate to Autodesk Identity, there are two different account.

- ShotGrid/RV/Create/Toolkit account. This is Autodesk account. User can mange password in [https://profile.autodesk.com](https://profile.autodesk.com)

- Python API/Rest API human user. This is legacy ShotGrid user. User need to create [PAT](https://help.autodesk.com/view/SGSUB/ENU/?guid=SG_Migration_mi_migration_account_mi_end_user_account_html#tutorial-configure-your-personal-access-token-pat-). And manage user name and password in [Account Settings](https://help.autodesk.com/view/SGSUB/ENU/?guid=SG_Administrator_ar_manage_accounts_ar_account_settings_after_migrating_html#legacy-login-and-personal-access-token-settings) - `Security`

- Try to avoid to use html characters (%, # …) in legacy password. Zapier won’t escape those characters. (Maybe there is trick. But I don’t know)

In this workflow, we need the second one _Python API/Rest API human user_. When legacy user/password created. Highly recommend to test with [PostMan](https://developer.shotgridsoftware.com/rest-api/?javascript#setting-up-a-development-environment) to test. If PostMan could pass the test, the account will be working for Zapier.

## **Zapier**

We will only show the first four steps

 ![Zapier-1](https://global.discourse-cdn.com/shotgunsoftware/original/2X/0/0d3e0a1af0b9486d504574464245d6539c22f145.png)

### 1. Catch Hook

Zapier will try to capture data from ShotGrid.

#### Choose app

 ![Zapier-2](https://global.discourse-cdn.com/shotgunsoftware/original/2X/0/0ed570579fbed8eabb5a1fd9b9f5d2256229bc4d.png)

#### Setup up trigger

 ![Zapier-3](https://global.discourse-cdn.com/shotgunsoftware/original/2X/d/d7a5bcd17715ddc9ca45bb7fb022106006318d21.png)

#### Test Trigger

 ![Zapier-4](https://global.discourse-cdn.com/shotgunsoftware/original/2X/b/b800644d59741d7fcfc9c25d59bb911bd4ed002d.png)

### 2. Only Continue if…

Setup some condition to test if Zapier get correct data to save traffic.

#### Choose app

 ![Zapier-5](https://global.discourse-cdn.com/shotgunsoftware/original/2X/0/03ceb7d7e29a7431595584ae55a2e94edc4b184b.png)

#### Filter setup & testing

 ![Zapier-6](https://global.discourse-cdn.com/shotgunsoftware/original/2X/d/dedaaa8c2b056ed97e8c3387878bb62f119bc972.png)

### 3. POST

On this step, Zapier needs to get [access code](https://developer.shotgridsoftware.com/rest-api/?go#password-credentials) from ShotGrid legacy username/password.

\*\*\*Note: Before you start this step, test your legacy username/password with [PostMan](https://developer.shotgridsoftware.com/rest-api/?javascript#setting-up-a-development-environment) \*\*\*

#### Choose app & event

 ![Zapier-8](https://global.discourse-cdn.com/shotgunsoftware/original/2X/b/bb2d52490f65a92cccce04c67ef10346e0f9afeb.png)

### Set up action

 ![Zapier-9](https://global.discourse-cdn.com/shotgunsoftware/original/2X/e/eb9800d36036f1383582aa896e5452c319795bb0.png)

#### Test action

 ![Zapier-10](https://global.discourse-cdn.com/shotgunsoftware/original/2X/3/3c1bf244ce5498e8db031ddb0b4494f82a85a5b9.png)

### 4. GET

On this step, Zapier will [get data](https://developer.shotgridsoftware.com/rest-api/?javascript#read-one-record) from ShotGrid

#### Choose app & event

 ![Zapier-11](https://global.discourse-cdn.com/shotgunsoftware/original/2X/0/08576bf78116c05add2d88d486fa16543abd5009.png)

#### Set up action

 ![Zapier-13](https://global.discourse-cdn.com/shotgunsoftware/original/2X/0/0143c5f25cb6afa6e47a25053d9c0a994d9706a7.png)

#### Test action

 ![Zapier-14](https://global.discourse-cdn.com/shotgunsoftware/original/2X/8/8c696d69dd40dee3a93e9eb67c0b5d63856b7de0.png)
