Last updated:

Zapier: Automatically email inspection reports with Gmail or Outlook

Learn how to create a Zap to automatically email inspection reports with Gmail or Outlook.

Why use Zapier to email inspection reports?

Using integration tools like Zapier, you can create an automation to automatically email SafetyCulture inspection using your preferred email service. This can help your organization to stay up to date on the latest inspection results the moment they are completed by your users.

Take note

If you run into any errors or have any questions regarding the integration, please contact our customer support team for assistance.

If you're a part of multiple organizations, please contact our customer support team for assistance in connecting Zapier to the correct SafetyCulture organization.

1. Any Inspection Completed in SafetyCulture

  1. Log in to Zapier.

  2. Click Create Zap on the upper-left of the page.

  3. Search and select SafetyCulture under "1. Trigger"

  4. Click the "Event" dropdown menu and select from the following options:

    • Any Inspection Completed: Select this event if you want to email all completed inspections your account has access to.

    • Inspection Completed: Select this event if you want to only email completed inspections from a specific template to which your account has access.

  5. Click Continue.

  6. Select your SafetyCulture account from the dropdown menu. If this is your first Zap with SafetyCulture, click Sign in and then add your SafetyCulture account to Zapier by logging in.

  7. Click Continue.

  8. If you selected "Inspection Completed" in step 4, click the dropdown menu to select the template. Please note that only the 20 most recently modified templates are shown. If the template you want to use is not on the list, select the Custom tab from the dropdown menu and enter the template's unique identifier in the text field. An example of inserting a custom template ID on Zapier.

  9. Click Test trigger and click Continue once an inspection has been found.

This Zap can also be set up to only email inspection reports when completed inspections contain flagged items. If you're up for the challenge, you can now add the optional "Run Python" and "Only continue if..." actions. Otherwise, skip to the "2. Start Inspection Report Export in SafetyCulture" section.

Run Python (optional)

  1. In "2. Action", search and select Code by Zapier. Select the "Code by Zapier" action in Zapier.

  2. Click the "Action Event" dropdown menu and select Run Python.

  3. Click Continue.

  4. Configure the following fields:

    • Input Data (left): Enter "audit_id".

    • Input Data (right): Click the field and select Inspection ID.

    • CodeDownload this code snippet, then copy and paste it into the field. Make sure to replace "API_token" on line 3 with your SafetyCulture API token.

  5. You should see something that resembles the following example: An example of the check flagged item Python script on Zapier.

  6. Click Continue.

  7. Click Test & continue.

Only continue if... (optional)

  1. Click image underneath the "2. Run Python" tile.

  2. Search and select Filter by Zapier.

  3. Configure the following fields:

    • Choose field…: Click the dropdown menu and select Proceed under "Run Python".

    • Choose condition…: Click the dropdown menu and select (Boolean) Is true.

  4. Click Continue.

2. Start Inspection Report Export in SafetyCulture

  1. Click the image at the bottom of the Zap. If you skipped to this section from "1. Any Inspection Completed in SafetyCulture", search and select SafetyCulture in "2. Action".

  2. Click the "Action Event" dropdown menu and select Start Inspection Report Export.

  3. Click Continue.

  4. Select your SafetyCulture account from the dropdown menu.

  5. Click Continue.

  6. Configure the following fields:

    • Inspection ID: Click the field and select Inspection ID under "Any Inspection Completed in SafetyCulture".

    • Inspection report format: Click the field and select the inspection report format.

    • Report layout: Click the field and select the report layout you want to apply. Keep in mind that only report layouts for all templates are available.

  7. Click Continue.

  8. Click Test & continue.

3. Delay For

  1. Click image at the bottom of the Zap.

  2. Search and select Delay by Zapier.

  3. Click the "Event" dropdown menu and select Delay For.

  4. Click Continue.

  5. Configure the following fields:

    • Time Delayed For (value): Enter "5".

    • Time Delayed For (unit): Click the dropdown menu and select minutes.

  6. Click Continue.

  7. Click Test & continue.

4. Get Exported Inspection Report in SafetyCulture

  1. Click image at the bottom of the Zap.

  2. Search and select SafetyCulture.

  3. Click the "Action Event" dropdown menu and select Get Exported Inspection Report.

  4. Click Continue.

  5. Select your SafetyCulture account from the dropdown menu.

  6. Click Continue.

  7. Configure the following fields:

    • Inspection ID: Click the field and select Inspection ID under "Any Inspection Completed in SafetyCulture".

    • Export ID: Click the field and select Export ID under "Start Inspection Report Export in SafetyCulture".

  8. Click Continue.

  9. Click Test & continue.

5. Send Email

  1. Click image at the bottom of the Zap.

  2. Search and select Gmail.

  3. Click the "Action Event" dropdown menu and select Send Email.

  4. Click Continue.

  5. Select your Gmail account from the dropdown menu. If this is your first Zap with Gmail, click Sign in to Gmail or click Add section button within TrainingConnect a new account from the dropdown menu, then sign in to Gmail and add it to Zapier.

  6. Click Continue.

  7. Configure the following fields:

    • To: Click the field and specify the email recipients you want to email inspection reports to.

    • Subject: Click the field and specify the email subject. You can use inspection details from the dropdown menu to create a naming convention. For example, "[1. Template Name]: [1. Audit Title]".

    • Body: Click the field and specify the email body. Similar to the subject field, you can use inspection details to construct the email body. Check out the following example: Automatically email inspection reports with Zapier via Gmail.

    • Attachments: Click the field and select Exported inspection report under "Get Exported Inspection Report in SafetyCulture".

  8. Click Continue.

  9. Click Test & continue. This should send an email to the recipients you specified.

  10. Publish your Zap to start emailing completed inspection reports to your specified recipients. We also recommend that you name your Zap on the upper-left corner of the page.

  1. Click image at the bottom of the Zap.

  2. Search and select Microsoft Outlook.

  3. Click the "Event" dropdown menu and select Send Email.

  4. Click Continue.

  5. Select your Microsoft Outlook account from the dropdown menu. If this is your first Zap with Outlook, click Sign in, then sign in to Microsoft Outlook and add it to Zapier.

  6. Click Continue.

  7. Configure the following fields:

    • To Email(s): Click the field and specify the email recipients you want to email inspection reports to.

    • Subject: Click the field and specify the email subject. You can use inspection details from the dropdown menu to create a naming convention. For example, "[1. Template Name]: [1. Audit Title]".

    • Body Format: Click the field and specify the email body format, either plain text or HTML.

    • Body: Click the field and specify the email body. Similar to the subject field, you can use inspection details to construct the email body. Check out the following example: Automatically email inspection reports with Zapier via Microsoft Outlook.

    • Attachment: Click the field and select Exported inspection report under "Get Exported Inspection Report in SafetyCulture".

  8. Click Continue.

  9. Click Test & continue. This should send an email to the recipients you specified.

  10. Publish your Zap to start emailing completed inspection reports to your specified recipients. We also recommend that you name your Zap on the upper-left corner of the page.

Need more help?
In this article