{"id":535,"date":"2014-10-02T10:23:24","date_gmt":"2014-10-02T09:23:24","guid":{"rendered":"http:\/\/bergatrollet.se\/blog\/?p=535"},"modified":"2014-10-02T10:23:24","modified_gmt":"2014-10-02T09:23:24","slug":"zapier","status":"publish","type":"post","link":"http:\/\/bergatrollet.se\/blog\/2014\/10\/zapier\/","title":{"rendered":"Zapier"},"content":{"rendered":"<p>So many site have well defined APIs\u00a0but making a mash-up still involves coding in some sort of script language and having access to an environment that can run the code. I have recently played with Zapier which is taking the hassle away.<\/p>\n<p>First, Zapier gives you 14 days of trial. I&#8217;m not going to dwell on the commercial model but\u00a0a minimum model is fee.<\/p>\n<p>What it does is that it automates\u00a0a function for you. It uses a trigger from one API and let&#8217;s this trigger and event over another API. The number of connected APIs are extensive (whereof I am familiar with only a fraction) and the sky is the limit to what you can do with it.<\/p>\n<p>The example I had in store was to trigger based on new entries\u00a0in the Instagramflow. I want to store the pictures\u00a0to my Google Drive.<\/p>\n<p>1) So set up the following (and it will ask you to connect to the services in question).<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"536\" data-permalink=\"http:\/\/bergatrollet.se\/blog\/2014\/10\/zapier\/zap\/\" data-orig-file=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap.png?fit=1967%2C572\" data-orig-size=\"1967,572\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"zap\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap.png?fit=605%2C175\" class=\"alignnone size-large wp-image-536\" src=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap.png?resize=520%2C150\" alt=\"zap\" width=\"520\" height=\"150\" srcset=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap.png?resize=1024%2C297 1024w, https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap.png?resize=300%2C87 300w, https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap.png?w=1967 1967w, https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap.png?w=1210 1210w, https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap.png?w=1815 1815w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>2) Then you\u00a0can define the triggers in Instagram to filter for only certain\u00a0of the entries in the flow. I wanted to save all so no fiddling with\u00a0that.<\/p>\n<p>3) Key portion is the definition of the Google Drive, which I set per below. I created a GDrive folder called Instagram, store full resolution, do not convert and then give it a handy file name.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap2.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"537\" data-permalink=\"http:\/\/bergatrollet.se\/blog\/2014\/10\/zapier\/zap2\/\" data-orig-file=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap2.png?fit=814%2C641\" data-orig-size=\"814,641\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"zap2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap2.png?fit=605%2C476\" class=\"alignnone size-full wp-image-537\" src=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap2.png?resize=605%2C476\" alt=\"zap2\" width=\"605\" height=\"476\" srcset=\"https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap2.png?w=814 814w, https:\/\/i0.wp.com\/bergatrollet.se\/blog\/wp-content\/uploads\/2014\/10\/zap2.png?resize=300%2C236 300w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/a><\/p>\n<p>4) Test the Zap (which will give you a file in the GDrive as a result) and give it a name. DONE.<\/p>\n<p>There is no end to the opportunities &#8211; let me just outline a few;<\/p>\n<p>&#8211; Post upcoming meetings from Outlook to a Hipchat<\/p>\n<p>&#8211; Pick text from a Google Talk (should now be Hangout?)\u00a0and post to Facebook<\/p>\n<p>&#8211;\u00a0Extract Facebook posts and store on Evernote.<\/p>\n<p>&#8211; Send notification via Jabber\u00a0when a document on your SkyDrive is updated.<\/p>\n<p>&#8211; When a relation in Streak advances, send a notification SMS<\/p>\n<p>&#8211; When you receive and SMS on the allocated LongCode, post it to Facebook (=Provide your own SMS to Facebook bridge)<\/p>\n<p>&#8211; Send an AIM whenever your WordPress blog gets a comment<\/p>\n<p>Please mind that when you have accounts for the services, you easily do each of these things in a few minutes. They might take a few additional minutes to polish, but in no case should it take more than 15 minutes to\u00a0implement a fully configurable\u00a0business rule.<\/p>\n<p>And yes, there are other similar services (for example IFTTT) but I have only played with this one and like it a lot.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So many site have well defined APIs\u00a0but making a mash-up still involves coding in some sort of script language and having access to an environment that can run the code. I have recently played with Zapier which is taking the &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"http:\/\/bergatrollet.se\/blog\/2014\/10\/zapier\/\"> <span class=\"screen-reader-text\">Zapier<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-535","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/skM6p-zapier","jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts\/535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/comments?post=535"}],"version-history":[{"count":1,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts\/535\/revisions"}],"predecessor-version":[{"id":538,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts\/535\/revisions\/538"}],"wp:attachment":[{"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/media?parent=535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/categories?post=535"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/tags?post=535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}