Airtable Zapier Custom Code Example

How to Automate Your Life and Everyday Tasks with Zapier

Every day, we perform numerous little jobs. On their own, they put on’& rsquo; t take much time. But they can build up, especially if you think about that time for an entire year. However we’& rsquo; re technologists and it’& rsquo; s 2020. How can we utilize tools like Zapier to make robotics

What can we make with Zapier Zaps?

The fantastic part about Zapier is each app combination makes its API available via Zapier to other app integrations giving you a lots of options to link and construct effective workflows.

Especially, we're going to learn how to do a couple of things:

Sending a text every early morning if it's going to rain

Establish a weekly print task to keep your ink fresh

Receive e-mails for new tasks on Smashing Publication's job board

While each of these jobs are little, they wind up saving you a lot of time. And if you're creative, you can build on these workflows to personalize a great deal more.

What is Zapier?

Zapier is an automation tool that connects all of the apps you enjoy and constructs powerful fully automated workflows. Whether it's automating sending out an email or making certain that brand-new article gets a tweet, we can get rid of the manual steps of ordinary jobs to concentrate on other things that art crucial.

Each time you produce a new workflow, you're producing a “& ldquo; Zap & rdquo;. It's essentially Zapier's way to provide a name to the workflow you create.Getting started with a Zapier account

Prior to we enter into establishing workflows, you'll require an account.

Registering for Zapier is free and you get 5 complimentary Zaps to start, so we don't have to stress over cost here.

Now let's get into the Zaps.

Zap 1: Get a text if it's going to rain with Zapier

To get an idea of how this works, we'll begin with something simple. We're going to establish a Zap that will send us a text if the weather condition anticipates rain.

To begin, click the big Make a Zap button on the top left of the page when you're logged into your account.

Making a brand-new Zap Here, Zapier needs to know the first app we want to link. Given that we're going to base our Zap on the weather, search for “& ldquo; weather condition & rdquo; and select Weather by Zapier. Choosing the Weather by Zapier integration It will then ask you to choose a Trigger Event, where you'll select “& ldquo; Will It Rain”Today? & rdquo;, then you can click the Continue

button. Choosing the Will it Rain Today? event When picking Weather condition as an occasion, it needs a bit of info to give us an individualized prediction. Especially, it needs your Latitude and Longitude, which we can look up utilizing latlong.net Finding latitude and longitude with latlong.net You can then enter your Latitude and Longitude into the Customize Projection screen of Zapier, choose your Systems which defaults to Fahrenheit, and after that click the huge Continue button.

At this moment, you can click Test Trigger, which simply makes certain it's working, and click Continue once again.

Now we're going to inform Zapier what to do with the details once it understands it's going to rain.

In the Do this ... panel, look for “& ldquo; sms & rdquo; and choose SMS by Zapier

. Choosing SMS by Zapier We're going to leave the App and Occasion as the defaults, so the next screen you can simply click Continue.

SMS App and Event Now, for Zapier to send you a text, it requires to confirm that your phone number comes from you or that the contact number is purposefully registering for these texts. To do that, it sends you a one-time PIN that you'll get in.

So click Check in to SMS by Zapier, which will open a popup window.

Here, enter your phone number, and select Sms or Call as the verification technique at which point it will contact you with a PIN.

Check in to SMS by Zapier and send out a PIN With that PIN, enter it into the field and click Continue.

Going into the SMS confirmation PING At this point the window will close and move you back to the original circulation. Here, click Continue once again.

Now we get to customize the text that we receive.

In the From Number field, Zapier provides a lot of phone numbers you can use. You can either choose one number to constantly send out from, which you can set up as a contact so you know it's Zapier, or you can pick Random, which will utilize a random number every time.

Then, click inside of Message, and it will raise some choices. I need to know whatever possible if it's going to rain, consisting of the probability, max temperature level, and summary, so we can pick all or as much as we want and once again click Continue.

Configuring Weather message Lastly we get to check if our Zap worked. At this point everything ought to be set up, so click the Test & & Evaluation button and you need to get a sample text!

Keep in mind: If you choose a single From Number, you might be limited in how frequent you can get texts, so if you don't get it right now, that may be why. Setting random assists prevent that issue, however the the number isn't consistent.

And once you more than happy with the setup, you can click Switch on Zap.

Turning on the SMS Zap You'll now get texts in the morning if the weather condition is forecasting rain!

Zap 2: Print a test each week with Google Cloud Print

This one doesn't sound amazing, but have you ever gone through an extended period of time where you didn't print something, only to wind up with dried printer heads or worse yet, a now unsalvageable printer?

We can avoid this by just running a weekly print task that keeps our printer ink good and fresh.

For this, we'll use Google Cloud Print. To make this work, you'll need to currently have this configured with your Google account.

Let's develop a new Zap and this time for our “& ldquo; When this occurs & hellip;” & rdquo; search for and choose Set up by Zapier.

Selecting Set Up by Zapier We can then pick a Trigger Occasion of Weekly and click Continue.

Setting Trigger Event as Weekly Next, you can select the Day Of The Week and Time Of Day you wish to print. I personally run this job weekly at 8pm on Sundays right before the start of a new week. Once set up, click Continue.

Configuring Zapier schedule At this moment, we can click Test trigger, which similar to in the past ensures it's working correctly, and then we can click Continue.

Now, for our “& ldquo;” Do this & hellip; & rdquo; we want to print, so look for and select Google Cloud Print

. Selecting Google Cloud Print And for the action, select Submit Print Task.

Setting Send Print Task as Action Event At this point, you'll require to sign into Google Cloud Print. This will open a window and have you log in through Google so that Zapier can interface with the service.

As soon as linked, click Continue.

Now we can configure out print job. Here we'll want to define what we print.

Setting Up Print Job in Zapier In the above, we're configuring:

Which Printer: the printer we want to print to connected to Google Cloud Print

Material: this can be a URL to a file, HTML, or plain text. I'm using a URL which is a simple test page I made that has some color in it

Material Type: you'll want to set this depending upon what you embed in Material. If you set a URL like I did, it must be URL

Title Of Print Task: the name of the task so you can see it in the print logs

Number of Copies: most likely just want 1 so it doesn't lose ink and paper

Color or Monochrome: you'll want to explicitly set this if you desire color. The concept is to revitalize all of the ink cartridges, so only printing black won't assist the color ink, so in my case, I picked color

The remainder of the fields are optional, feel free to personalize to your preference.

With our setup set, click Continue, and comparable to in the past, we can click Test to see our print job in action and if we're happy, we can click Turn on Zap!

Test print from Zapier print job If you want to utilize the exact same document, you can discover it here:

https://fay.io/printer-test.pdf

Zap 3: Smashing Magazine Job Notifies with Gmail

If we're looking for a job, it can be a discomfort to have to visit every job board every day (or every hour, am I right?). But we can automate this procedure when the task board supports it.

Thankfully, task boards like Smashing Publication and a lot of others provide RSS feeds which we can hook right in to Zapier to automate getting an e-mail whenever a brand-new task is posted.

To get started, let's produce a brand-new Zap, and this time, look for RSS and select RSS by Zapier.

Choosing RSS by Zapier For our Trigger Event, select New Item in Feed, then click Continue.

Setting New Item in Feed as Trigger Event At this moment, we wish to get in a feed URL. This will be the URL to the XML RSS feed that websites make available. For Smashing Publication, you can discover it here:

So get in that URL above into Feed URL (you can leave Username and Password blank), and keep Different GUID chosen for What Activates A Brand-new Feed Item. Then click Continue.

Setting RSS Feed URL Like normal, now you can check the trigger to make certain it works. If the RSS feed stands, this will be smooth, otherwise you may see an error. The above URL ought to stand!

Testing the RSS feed Next, we require to select what we wish to finish with the brand-new product. Because we desire it emailed, we can pick our e-mail service, which in my case is Gmail.

Picking Gmail in Zapier For our action, we want to Send out Email.

Setting Action Event as Send Email Next, you wish to check in to your account, similar to what we did with Google Cloud Print. This need to be your Google account that you utilize Gmail with.

Check in to Gmail Now when we tailor our e-mail, we want to consist of the following:

To: anywhere you desire these sent to, probably the exact same account you signed into Gmail with

From: select your Gmail account

From Name: can be anything you'll recognize, like I'll utilize Colbybot

Subject: can be whatever you 'd like, however a practical concept could be “& ldquo; New Job Alert: followed by choosing the title from the dropdown choice

Physique: you can leave as Plain

Body: I would suggest consisting of all tokens you'll discover practical including the Title, Description, and Link

Configuring task alert e-mail Once you're done setting up, you can strike continue. Then, comparable to in the past, click Test & & Review, and you must get your test email.

Test job alert email Lastly if you're happy with the setup, turn on the Zap, and enjoy your job search!

More Ideas

Here's more concepts to get you relocating the ideal direction:

Post Tweets to Slack: whenever an account tweets or someone from a list of accounts tweets, post that tweet to Slack

Submit Github Bugs to Jira: whenever somebody tags a Github Concern with a label of “& ldquo; bug & rdquo;, produce a brand-new ticket in Jira with that Issue information

Post RSS Products to Twitter: do you write your own material? Establish an RSS feed to instantly post a tweet with your new article

Not Google Assistant

The only thing that it's missing out on for me today is Google Assistant, otherwise I would have consisted of some Zap concepts for that.

IFTTT supports Google Assistant for easier flows, but Zapier can get more effective.

Webhooks

Zapier supports web hooks meaning you can truly do whatever you desire. Though this is a premium feature, you can establish some custom-made workflows based off of new information Zapier sees or accept requests that you post to set off other automations.

What's your favorite Zap?

Love hearing brand-new creative methods to utilize Zapier.

Share with me on Twitter!

Airtable Zapier Custom Code Example