> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allquiet.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Zapier

> Create and Update Incidents in All Quiet Using Zapier Actions

<Tip>Please set up our [Zapier Outbound Integration](/integrations/outbound/zapier), first.
If you want to use Zapier to send All Quiet incidents to other apps, please refer to the outbound documentation, too. **For Pro and Enterprise plan users:** No matter which teams you added when setting up the [outbound integration](/integrations/outbound/zapier#create-outbound-integration), all All Quiet incidents will always be created in the integration's root team.</Tip>

You might want to use our Zapier inbound integration to connect All Quiet to an observability tool that you use but we do not support, just yet. Here, you can find the list of [Server Monitoring tools integrated in Zapier](https://zapier.com/apps/categories/server-monitoring).

Or, like in the example we are going to showcase, you might want to create and update incidents in All Quiet based on Gmail labeling. The options are almost endless.

## Create Incident Action

1. On the home screen, click `Create`.
2. Select `Zaps`.

<img className="Zap_Create" src="https://mintcdn.com/allquiet/omd7ZCTO_U3iC7ur/images/zapier/zapier-04.png?fit=max&auto=format&n=omd7ZCTO_U3iC7ur&q=85&s=4a79e1eafbe8eae15e80543a4eaf5bec" width="2820" height="1195" data-path="images/zapier/zapier-04.png" />

After the Zap is created, select the Trigger.

<img className="Zap_Create_Trigger" src="https://mintcdn.com/allquiet/omd7ZCTO_U3iC7ur/images/zapier/zapier-06.png?fit=max&auto=format&n=omd7ZCTO_U3iC7ur&q=85&s=cfdf624b56e5c33598acee37cf8d619e" width="2822" height="1366" data-path="images/zapier/zapier-06.png" />

<Info>In this example, we want to Trigger a new incident via Gmail. Instead of using Gmail, you could also use other Zapier integrations as a Trigger.</Info>

<img className="Zap_Select_Gmail_as_Trigger_App" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-14.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=d121d4dfdb0dbb16e1b87703bcfe1371" width="1262" height="1426" data-path="images/zapier/zapier-14.png" />

We want to create the incidents by labeling email, that's why we pick the `New Labeled Email` Event (2) after selecting Gmail as Trigger (1).

<img className="Zap_Select_Gmail_as_Trigger_App" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-24.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=5180f78571a4c06bd4a21e9c1871e3fa" width="2755" height="1999" data-path="images/zapier/zapier-24.png" />

Next, we need to sign in to the Gmail account we want to use to create incidents via labeling.
Here, we already signed in with our support email address.
After sign in, click `Continue`.

<img className="Sign_in_Gmail" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-25.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=80b4ef70a5b9431a03d63c43114868e9" width="1361" height="1999" data-path="images/zapier/zapier-25.png" />

Now, we need to define the actual trigger. Here, we decided to label emails as `Incident` to trigger an All Quiet incident.
After selection, click `Continue`.

<img className="Trigger_Label_Incident" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-26.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=82dfd3e5da89fa533bae4744932108a3" width="1254" height="2016" data-path="images/zapier/zapier-26.png" />

Next, we can see emails that are labeled as `Incident` in our connected Gmail account.

1. We have to select the email we want to use for a test.
2. Then, we can `Continue with the selected record`.

<img className="TestMail_Label_Incident_1" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-27.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=7b696670599cb5b5aade06799482f245" width="1365" height="2214" data-path="images/zapier/zapier-27.png" />

Now, we need to set up the action we want to trigger with the labeling - the new incident in All Quiet.

<Tip>This has to be done regardless of choosing Gmail or any other integration as a Trigger.</Tip>

1. Search for `All Quiet`.
2. Select it.

<img className="Select_All_Quiet_as_Action_App" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-07.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=2ed3f26c41064900bc0246ace4008f52" width="1254" height="1420" data-path="images/zapier/zapier-07.png" />

You can select between two different Action types.

1. `Create Incident`
2. `Create Incident Intent`

<Info>For now, we select the `Create Incident` Action. To learn more about `Create Incident Intent` Action, see [Create Incident Intent Action section](/integrations/inbound/zapier#create-incident-intent-action).</Info>

<img className="Select_All_Quiet_Action_Event" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-28.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=4c5ea32f67e3a3fc13514af26b5cc016" width="1258" height="2018" data-path="images/zapier/zapier-28.png" />

After selecting `Create Incident` and clicking `Continue`, we need to sign in to our All Quiet Account to connect it with Zapier.

<img className="Zap_SignIn_All_Quiet_Action" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-09.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=4f44a2cf3449d7a9eab92b479f6ab234" width="1359" height="2004" data-path="images/zapier/zapier-09.png" />

You will have to provide your

1. Integration ID and
2. Webhook Secret
   that you received after [creating the outbound integration in All Quiet](/integrations/outbound/zapier#create-outbound-integration).
3. Also, provide your `Data Storage Region`, either `US` or `EU`.
4. After providing the credentials, click `Yes, Continue to All Quiet`.

<img className="Zap_Provider_All_Quiet_Credentials_Action" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-10.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=5ca53425df59381648657d62bc6de011" width="1504" height="1232" data-path="images/zapier/zapier-10.png" />

After signing in with All Quiet, we can continue.

<img className="Zap_Account_added_Action" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-11.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=9c5a75eeeb9b427471d6b65122f23c82" width="1358" height="1999" data-path="images/zapier/zapier-11.png" />

Next, it's time to define the incident.

<Tip>This has to be done regardless of choosing Gmail or any other integration as a Trigger. The available variables, however, differ by the selected integration and use case.</Tip>

1. Create a `Incident Title`. Here, we use a combination of text and, in this use case, email variables provided by the Gmail Trigger.
2. Define the `Severity` that incidents created by labeling emails as `Incident` should have. Here, we selected "Critical". If you want to have different severities for different mails, you could go ahead and create different labels instead of one `Incident` label.
3. Define the `Attributes` of the incident. Here, we added the Subject & Description of the email.
4. Define the `Status` of the incident. As the incident is created by the labeling, we set the status to `Open`.
5. After configuring the incident, click `Continue.`

<img className="Create_Incident_Action" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-29.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=61def2244abdf9de58ea487889a71e6d" width="1360" height="2210" data-path="images/zapier/zapier-29.png" />

Now, we can test if incident creation works by labeling in Gmail. Click `Test step`.

<img className="Test_Create_Incident_Action" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-30.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=aa9e4918bec4e45a3ef62077b5490195" width="1363" height="2222" data-path="images/zapier/zapier-30.png" />

Opening All Quiet, we can see that the incident was created as expected.

<img className="Test_Incident_Created_in_All_Quiet" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-31.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=abefa2cfa32e8055b37e6f7dff6d4a7e" width="3276" height="1459" data-path="images/zapier/zapier-31.png" />

Now, we can publish our Zap to use it for automatic incident creation.

<img className="Publish_Zap_Incident_Creation" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-32.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=a229680c6dd5df1947a2c0e19aa1378e" width="1367" height="2302" data-path="images/zapier/zapier-32.png" />

<Check>You have successfully created an All Quiet incident via Zapier.</Check>

## Create Incident Intent Action

Now, we want demonstrate how to create a Zap to update an an existing incident.

<Info>We will keep working with the Gmail Integration to demonstrate a usecase. Feeld free to use any other Zapier Integration that suits your case as a Trigger.</Info>

This Zap will update the status of the incident we created [earlier](/integrations/inbound/zapier#create-incident-action) to `Resolved`, by re-labeling the correonding email in Gmail.

Again, we need to start with setting up the Gmail Trigger. We will not document all steps again, but focus on what's different.

After selecting the "New Labeled Email" Event and the Gmail Account we want to use, we set up a new Trigger to react to emails with the label `Resolved`.

<img className="Zap_Incident_Intent_Label" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-33.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=63fc3bb43d57ea62aabdbb6ae6898c99" width="1350" height="2224" data-path="images/zapier/zapier-33.png" />

In Gmail, we already added an email to the label to make sure we have values to test the zap.

1. Select the email we want to use to test.
2. Click `Continue with selected record`.

<img className="Zap_Incident_Intent_Test_Mail" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-34.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=b107d393ef0b4ea8254e147c42ff393c" width="1363" height="2218" data-path="images/zapier/zapier-34.png" />

Next, we add the All Quiet Action. This time, we select Action Type
`Create Incident Intent` (2) and continue.

<Tip>This has to be done regardless of choosing Gmail or any other integration as a Trigger.</Tip>

<img className="Select_All_Quiet_Action_Event_2" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-28.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=4c5ea32f67e3a3fc13514af26b5cc016" width="1258" height="2018" data-path="images/zapier/zapier-28.png" />

The All Quiet Account is already connected, so we can move on with configuring the Action.

1. We Select an `Incident ID`. Simplest way is you use one of those already provided by the Gmail Trigger.
2. We select our `Intent`. Remember, we want to resolve incidents if the incident triggering mail was re-labeled as `Resolved`.
3. We can add a `Message` that is added to the intent. We stuck to text, here, but you can use variables, too.

`Continue`.

<img className="Zap_Incident_Intent_Config" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-35.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=111b0158eb1fead76b21374cd9234c1d" width="1360" height="2214" data-path="images/zapier/zapier-35.png" />

Click `Test step` to test your Zap.

<img className="Zap_Incident_Intent_Test" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-36.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=cd01546d2efc545aa4bd326b1de8d094" width="1354" height="2216" data-path="images/zapier/zapier-36.png" />

Entering All Quiet, you can check if the incidents got updates as expected by looking into the incident details.

<img className="Zap_Incident_Intent_All_Quiet_Details" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-37.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=4400a9365035f574fcdcccbfce007aca" width="2836" height="1496" data-path="images/zapier/zapier-37.png" />

`Publish` the Zap if you liked the result.

<img className="Zap_Incident_Intent_Publish" src="https://mintcdn.com/allquiet/i7PvpNs4QhdB1eOO/images/zapier/zapier-38.png?fit=max&auto=format&n=i7PvpNs4QhdB1eOO&q=85&s=91f8a89afdc606b2234386c2757fba83" width="1348" height="2222" data-path="images/zapier/zapier-38.png" />

<Check>You have successfully updated an All Quiet incident via Zapier.</Check>
