Skip to main content

Zap Examples

Run Recognition

This action calls the Snapshot recognition API and returns the results. Below is a setup example to automatically upload new files added to a Google Drive folder to Snapshot. The following guide uses Google Drive as the trigger but can be applied to other Zapier triggers.

tip

A Zapier account and Google Drive folder with a sample image is required.

Zap Creation

click-on-new-zap

  • Optionally set a desired title for the Zap

new-zap-page

Google Drive Trigger

tip

Google Drive New File in Folder trigger has some nuance about what it will trigger on:

  • If a file is directly added to the folder, the Zap will trigger
  • If a file is directly added to the folder but was modified/created greater than 4 days ago, the Zap won't trigger
  • If a file is moved to the folder (even if it was added to Google Drive in the last 4 days), the Zap won't trigger

Check this link for common Google Drive problems to watch out for.

Choose a desired app to trigger the upload, In this case "Google Drive".

  1. Click on Trigger and search for "Google Drive"

change-trigger

  1. Click the Event select "New File in Folder"

app-event-new-file-in-folder

  1. Connect your google drive account

google-drive-account

  1. Select the drive and folder with a sample image to watch for new files

drive-and-folder-selection

  1. Test the trigger by clicking on "Test Trigger". You should see the sample file you added in the folder as one of the events. It might take up to 15 minutes for new files in the folder to show up on Zapier.

test-trigger

Confirm the record is the file you added then select it then click "Continue with selected record"

new-records

Snapshot Recognition Action

  1. Click on action and search for Platerecognizer

platerec-action

  1. Select "Run recognition" event then click on continue

run-recognition-event

  1. Click add account then add your Platerecognizer API Token

platerec-account

  1. Select the file to upload from the fields in the trigger output.

    tip

    If using the Upload file field, you have to select a field that ends with (Exists but not shown) If using the Upload URL field you have to select a publicly accessible URL of the file.

    Input other desired params as documented in Snapshot API guides

    File-Exists-but-not-shown

  2. Test the step and verify you get back recognition results

test-step recognition-results

  1. Click on "Publish" to make the automation live.

zap-published-status

tip

Forward the results to a Google Sheet by this Google Sheet action step

New Recognition

Zap Creation

Create a new empty zap as described above

empty-zap

Snapshot Webhook Trigger

  1. Click "change trigger" and search for "Platerecognizer"

trigger-search

  1. In the Event, select New recognition then click continue

trigger-events

  1. Choose a Platerecognizer account or add a new one by clicking "connect a new account" then inputting your Token in the popup displayed. Click "continue"

trigger-account

  1. Test the trigger by clicking "Test Trigger"

trigger-test

If "No recognition found" is displayed, skip the test and use a sample output data by clicking "Skip test" then "Continue"

trigger-test-empty

Google Sheet Action

  1. To add a Google Sheets action that creates a new row with results, Search for "Google Sheet" and select it

action-search

  1. In the event field, select "Create Spreadsheet Row" then click "Continue"

action-event-new-spreadsheet-row

  1. Under "Account", select the google account that owns the Google sheet then click "continue". You might need to sign in.

google-sheet-account

  1. Create a Google sheet in the Google account with the first row having desired column labels

google-sheet-colums

  1. Choose the "Drive", "Spreadsheet" and "Worksheet".

google-sheet-select

  1. This will present you with more inputs to map the output data to Spreadsheet labels that in the first row.

google-sheet-mapping

  1. Click "Continue" then "Test step". The test is successful if a new row is added to the Google sheet you selected.

test-sheet-action

  1. Click "Publish" to make the zap live. You can test this integration by uploading a new image to Snapshot cloud.
    warning

    The integration will automatically register a new webhook in your cloud dashboard, it should not be deleted.
    Format: https://hooks.zapier.com/hooks/standard/12987882/3ebec46066c8490eb1142e142b6a6f5a/

Floating button icon
CTRL + .