Posting to a Zapier Web Hook with Elephant Scan
Note:We haveeasier waysto save your scans to the cloud with Elephant Scan. This tutorial shows you one way to integrate Elephant Scan with Zapier.
In this example we will use Elephant Scan to store our scans in a Google Docs spreadsheet.
Before you start, you will need:
- A Zapier account
- A Google account.
- Create a new spreadsheet in Google Sheets
- Add the column headings barcode and notes. Add one row of sample data.
- Save the sheet and make note of its name.
Post to Zapier
- Login to your Zapier account.
- Create a web hook in Zapier by going to the dash board and clicking the “Make a new zap” button.
- For the trigger choose, “Webhooks by Zapier” and “Catch Hook.” For the action, choose “Google Sheets” and “Create Spreadsheet Row.”
- Click “Continue” and you will see your Zapier Webhook. This is what you will copy to Elephant Scan. There are several ways to do this. You can email this url to yourself and open the email on your phone. Use AirDrop to get this from your Mac to your iPhone. Or just type it into Elephant Scan.
- Click “Continue.” Select “Connect to a Google Sheets account.” Create a name for your Google Sheets account that you will use in Zapier and Click “Continue.”
- A window will pop-up that will give you instructionsfor linking your Google account. Complete those instructions. When you are done you will see something like this:
- Click “Continue.” There is nothing to do for the next step.
- Click “Continue.” You will see Zapier’s step 5, but before you go on you need to add your new Zapier web hook to Elephant Scan.
- Open Elephant Scan in your iPhone. Tap on “Settings.”
- Clear any previous web hook by tapping the small “x” to the right of the “Post to Webhook” input box.
- In the “Post to Webhook” input box, paste or type your Zapier web hook that begins withhttps://zapier.com/hooks/catch… Tap “Done.” Elephant Scan is ready to post to Zapier, but there are a few more steps need to get Zapier to receive posts from Elephant Scan.
- Have a barcode handy. The ISBN code on any book will work, but any barcode will do.
- Back to the Zapier web service! You will tell Zapier to parse the information coming from Elephant Scan and put it in your spreadsheet. Look at theZapier step 5. section. From the spreadsheet dropdown menu, select thespreadsheet that you created way back at the beginning of this tutorial. From the worksheetdropdown menu, selectthe worksheetthat contains your headings and sample data (most likely “Sheet1”). You will see twoenigmatic looking button labeled “Insert Fields.” Click the top one.
- You will see a pop up window. Click “Ok, I did this” because you did.
- Now here’s where it gets weird… Click “Ok, I did this” for step 2 in that same window, even though you did not. We are using Elephant Scan, not Zapier, for this part.
- Pick up your iPhone and open Elephant Scan. If the scan view is not open, tap “Scan.” Scan any barcode by getting it in sight of your iOS device’s view finder.
- Tap the notice at the top to add a note.
- Enter your note and tapDone.
- Now back to Zapier! If all goes well, you will see the message “We found your changes!” Click “All done!”
- Click the top “Insert fields” button again. This time you will see a list of fields sent from Elephant Scan. Match eachfield to its spreadsheet heading. When you have matched both the notes and barcode fields. Click “Continue.”
- Under the Zapier step 6., click the “Test” Button. You will be given a chance to test your web hook. This is notnecessary, but you might be interested in examining the type of information that comes from Elephant Scan by clicking “See trigger sample.” Click “Continue.”
- Type a name for your zap and click “Turn Zap on.”
- Scan a couple more barcodes with added notes.
- Refreshyour Google sheet to make sure your scans were added.
Well, that’s it. We have easier ways to save your scans to the cloud with Elephant Scan. But this gets you started with Zapier integration. Let us know how you are using Elephant and how we can make it better.