{
    "componentChunkName": "component---src-templates-article-page-template-js",
    "path": "/how-to/set-up-and-use-zapier/",
    "result": {"data":{"markdownRemark":{"frontmatter":{"title":"Set up and use Zapier","slug":"set-up-and-use-zapier","updated":"2021-06-02T00:00:00.000Z","category":"how-to-events","ingress":"This guide demonstrates how to connect Flex to Zapier, gives a brief overview of the events and information made available to Zapier, and finally the possibilities a working Zapier integration holds.","skills":null},"htmlAst":{"type":"root","children":[{"type":"element","tagName":"h2","properties":{"id":"what-is-zapier-and-why-should-you-use-it","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#what-is-zapier-and-why-should-you-use-it","ariaLabel":"what is zapier and why should you use it permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"What is Zapier and why should you use it?"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Your Flex marketplace is built on top of APIs, which makes it possible\nfor your marketplace app to talk to other web applications. Building\nthird-party integrations is a great way to bring new features to your\nmarketplace, but until now, it still required advanced coding skills to\nconnect two apps."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"With Zapier, you can connect your Flex marketplace with more than 3,000\nother web apps with just a few clicks. You can then build \"Zaps\", which\nare automated workflows or sequences of actions that get kicked off by a\ntrigger. An event in one app can set in motion an action in a second app\nand another action in a third app etc."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Once you’ve created a Zapier account and connected your Flex marketplace\naccount, you can use nine different events in your marketplace as a\ntrigger for actions in other apps. Zapier can also perform \"search\nactions\" in your marketplace data about users, listings or transactions."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Together this allows you to create complex workflows based on things\nhappening in your marketplace. A new booking can trigger the sending of\na text message with Twilio. A new user sign-up can set into action a\ncampaign of drip emails in Mailchimp. A new listing can be automatically\nposted to any of your marketplace’s social accounts. And so much more."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"connecting-zapier-to-flex","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#connecting-zapier-to-flex","ariaLabel":"connecting zapier to flex permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Connecting Zapier to Flex"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"iframe","properties":{"width":560,"height":315,"src":"https://www.youtube.com/embed/zUp4eZufKsk","title":"YouTube video player","frameBorder":"0","allow":"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowFullScreen":true},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"To take Zapier into use and connect it to Flex, you need:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"An account at Zapier"}]},{"type":"text","value":". There is a free trial, but eventually, based\non your usage, you may need a paid plan at Zapier."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"A Client ID and a Client Secret for the Integration API"}]},{"type":"text","value":", which you\nneed to authorize Zapier to connect to your Flex account. You can\ncreate a Client ID and a Client Secret by adding a new application in\nConsole > Build > Applications."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"An account for each third-party app you’d like to connect with."}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"1-register-a-zapier-account","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#1-register-a-zapier-account","ariaLabel":"1 register a zapier account permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"1. Register a Zapier-account"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ol","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Go to "},{"type":"element","tagName":"a","properties":{"href":"https://www.zapier.com","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"www.zapier.com"}]},{"type":"text","value":" and click on “Sign up”\nin the top right corner."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Choose your preferred method of signing up and follow the steps until\nyou reach your Zapier Dashboard."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"2-create-a-new-application-with-credentials-in-flex-console","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#2-create-a-new-application-with-credentials-in-flex-console","ariaLabel":"2 create a new application with credentials in flex console permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"2. Create a new application with credentials in Flex console"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ol","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Go to\n"},{"type":"element","tagName":"a","properties":{"href":"https://flex-console.sharetribe.com/applications","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Console > Build > Applications"}]},{"type":"text","value":".\nClick on “+Add new”."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Fill in a name (e.g. \"Zapier\") and select "},{"type":"element","tagName":"em","properties":{},"children":[{"type":"text","value":"Integration API"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Copy the Client ID and the Client Secret somewhere secure before\nclosing this modal. You will not be able to see it again! The client\nsecret must be kept secure. Do not share it publicly. Sharetribe team\nwill never ask you for your client secret."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"3-connect-zapier-to-flex","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#3-connect-zapier-to-flex","ariaLabel":"3 connect zapier to flex permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"3. Connect Zapier to Flex"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ol","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"In your Zapier dashboard, go to \"My Apps\" and click \"Add Connection\""}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"In the Search bar, type in \"Sharetribe Flex\", and select Sharetribe\nFlex from the results. This will open up a new pop-up window to\nauthorize access to Flex."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Here, fill in the Client ID & Client Secret from the previous step\nand click \"Yes, continue\"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"If the connection is successful, you'll be returned to a screen that\nshows you that you have a connection to your marketplace."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"You can now connect Flex to any other app that you connect to Zapier."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"which-events-can-be-used-as-triggers-in-zapier","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#which-events-can-be-used-as-triggers-in-zapier","ariaLabel":"which events can be used as triggers in zapier permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Which events can be used as triggers in Zapier?"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Currently the integration supports nine different events across three\ncategories:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"listing-events","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#listing-events","ariaLabel":"listing events permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Listing events"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Listing created"}]},{"type":"text","value":": sent each time a listing is created"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Listing updated"}]},{"type":"text","value":": sent each time a listing is updated. "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Please note\nthat in the default listing creation flow in FTW a new listing goes\nalready through several (seven) updates between the first draft and\neventual publishing"}]},{"type":"text","value":". Be sure to check out Zapier's own\n"},{"type":"element","tagName":"a","properties":{"href":"https://zapier.com/apps/filter/integrations","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Filter app"}]},{"type":"text","value":" to filter\nout the relevant ones."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Listing deleted"}]},{"type":"text","value":": sent each time a listing is deleted"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"user-events","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#user-events","ariaLabel":"user events permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"User events"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"User created"}]},{"type":"text","value":": sent each time a user is created"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"User updated"}]},{"type":"text","value":": sent each time a user is updated"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"User deleted"}]},{"type":"text","value":": sent each time a user is deleted"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"transaction-events","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#transaction-events","ariaLabel":"transaction events permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Transaction events"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Transaction initiated"}]},{"type":"text","value":": sent each time a transaction is initiated"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Transaction transitioned"}]},{"type":"text","value":": sent each time a transaction transitions\nfrom one state to the next. What this means depends a lot on your own\ntransaction flow."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Transaction updated"}]},{"type":"text","value":": sent each time a transaction is updated without\na transition taking place."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"which-information-is-sent-with-each-event","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#which-information-is-sent-with-each-event","ariaLabel":"which information is sent with each event permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Which information is sent with each event?"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Each event comes with a lot of information about the event, which you\ncan then use in the rest of the Zap. For example, the transaction event\ncontains information about when it was created, the customer id, the\nprovider id, the listing id, the amount that was paid and many more\nthings. Zapier can collect that information and send it to another app\nin the Zap, to send a text message, or an email, or store it in a sheet,\nfor example."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"You can read which information is available for each event in the\n"},{"type":"element","tagName":"a","properties":{"href":"https://www.sharetribe.com/api-reference/","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"API Reference Documentation"}]},{"type":"text","value":"\nand check the \"resource format\" for the event. Another easy way to check\nis to just test out each in Zapier and see what information Zapier is\nable to collect."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"It is good to note that any extended data attributes only show up in\nZapier if they are present in the resource you are testing with. For\nexample, if you are testing phone number handling in a user event, you\ncan check in "},{"type":"element","tagName":"a","properties":{"href":"https://flex-console.sharetribe.com/users","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Flex Console"}]},{"type":"text","value":"\nto see whether the user has a phone number defined in the first place.\nSince Zapier listens to events, it is useful to start any Zapier\ndevelopment work by triggering an event with the specific test data you\nneed, so you know that your data has the necessary attributes."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"which-actions-can-zapier-take-in-my-marketplace","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#which-actions-can-zapier-take-in-my-marketplace","ariaLabel":"which actions can zapier take in my marketplace permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Which actions can Zapier take in my marketplace?"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The Flex-Zapier integration doesn't only send events to Zapier, it can\nalso receive commands from Zapier to perform \"search actions\" in your\nmarketplace, based on relevant ids. There are three different search\nactions:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Show user"}]},{"type":"text","value":": shows information about a user based on a user ID (both\nproviders & buyers)"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Show listing"}]},{"type":"text","value":": shows information about a listing based on a listing\nID"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Show transaction"}]},{"type":"text","value":": shows information about a transaction based on a\ntransaction ID."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Additionally, each of these has so-called relationships with other data,\nwhich you can choose to include:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Show user"}]},{"type":"text","value":": can include "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"marketplace"}]},{"type":"text","value":" (the name of your marketplace),\n"},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"profile image"}]},{"type":"text","value":" (url to the user's profile image) and "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"stripe account"}]},{"type":"text","value":"\n(of the user)."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Show listing"}]},{"type":"text","value":": can include "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"marketplace"}]},{"type":"text","value":", "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"author"}]},{"type":"text","value":" (owner of the\nlisting), "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"currentStock"}]},{"type":"text","value":", "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"images"}]},{"type":"text","value":" the ordered list of listing images,\nif any."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"Show transaction"}]},{"type":"text","value":": can include "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"marketplace"}]},{"type":"text","value":", "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"listing"}]},{"type":"text","value":" (that the\ntransaction is about), "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"provider"}]},{"type":"text","value":" (of the listing), "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"customer"}]},{"type":"text","value":" (who\ninitiated the transaction), "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"booking"}]},{"type":"text","value":" (created by the transaction, if\nany), "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"stockReservation"}]},{"type":"text","value":", (created by the transaction, if any),\n"},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"reviews"}]},{"type":"text","value":"(of the parties in the transaction), "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"messages"}]},{"type":"text","value":" (messages\nthat the parties have sent to one another as part of the transaction,\nif any)"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"All of the information can again be used in the rest of the Zap, for\nexample to insert in an email, or a Tweet etc."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"some-examples-of-what-you-can-do-with-zapier-and-flex","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#some-examples-of-what-you-can-do-with-zapier-and-flex","ariaLabel":"some examples of what you can do with zapier and flex permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Some examples of what you can do with Zapier and Flex"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The above might all sound a bit dry and theoretical, so what does this\nmean in practice? Here are some ideas:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"You can build a Zap with Twilio that sends a text message to the\nprovider everytime a booking is made of their listing, containing\ninformation about who booked it and when.\n"},{"type":"element","tagName":"a","properties":{"href":"https://zapier.com/shared/10df518e77541354c78dd1c524cf28f59c774aaf","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Here's a Zap template"}]},{"type":"text","value":"\nthat you can use and adjust."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"You can add a new marketplace user to a Mailchimp audience.\n("},{"type":"element","tagName":"a","properties":{"href":"https://zapier.com/shared/412d7744a23855ce00941567a619c7ffb7652335","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Zap template"}]},{"type":"text","value":")"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"You can automatically send each transaction to a Google Sheet"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"You can expand on the existing email notifications by building your\nown email automation for certain actions"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"You can automatically post all new listings on your marketplace to\nyour social channels"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"zap-templates","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#zap-templates","ariaLabel":"zap templates permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Zap templates"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Zap templates are ready-made Zaps with the starting trigger and the\nactions already defined, which you can then take into use. It does still\nrequire you to sign in to all the services involved in the Zap and test\nthe different steps. More templates are coming."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://zapier.com/shared/10df518e77541354c78dd1c524cf28f59c774aaf","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Send a text message to the provider for each new booking in a Flex marketplace"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://zapier.com/shared/412d7744a23855ce00941567a619c7ffb7652335","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Add a new user in your marketplace to a Mailchip audience"}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://zapier.com/shared/967732338e072db4edc8332e0de182deb0feef6b","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Send a tweet for each new listing with name & listing URL"}]}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"video-tutorials","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#video-tutorials","ariaLabel":"video tutorials permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Video tutorials"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"how-to-connect-flex-to-zapier","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#how-to-connect-flex-to-zapier","ariaLabel":"how to connect flex to zapier permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"How to connect Flex to Zapier"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"iframe","properties":{"width":560,"height":315,"src":"https://www.youtube.com/embed/zUp4eZufKsk","title":"YouTube video player","frameBorder":"0","allow":"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowFullScreen":true},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"how-to-send-information-from-flex-to-google-sheets-using-zapier","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#how-to-send-information-from-flex-to-google-sheets-using-zapier","ariaLabel":"how to send information from flex to google sheets using zapier permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"How to send information from Flex to Google Sheets using Zapier"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"iframe","properties":{"width":560,"height":315,"src":"https://www.youtube.com/embed/C8rdoLSsxiY","title":"YouTube video player","frameBorder":"0","allow":"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowFullScreen":true},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{"id":"how-to-build-a-text-message-integration-in-sharetribe-flex-using-twilio-and-zapier","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#how-to-build-a-text-message-integration-in-sharetribe-flex-using-twilio-and-zapier","ariaLabel":"how to build a text message integration in sharetribe flex using twilio and zapier permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"How to build a text message integration in Sharetribe Flex using Twilio and Zapier"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"iframe","properties":{"width":560,"height":315,"src":"https://www.youtube.com/embed/w2Dmw1x0c3E","title":"YouTube video player","frameBorder":"0","allow":"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowFullScreen":true},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Further video tutorials will be added."}]}],"data":{"quirksMode":false}},"headings":[{"value":"What is Zapier and why should you use it?","depth":2},{"value":"Connecting Zapier to Flex","depth":2},{"value":"1. Register a Zapier-account","depth":3},{"value":"2. Create a new application with credentials in Flex console","depth":3},{"value":"3. Connect Zapier to Flex","depth":3},{"value":"Which events can be used as triggers in Zapier?","depth":2},{"value":"Listing events","depth":3},{"value":"User events","depth":3},{"value":"Transaction events","depth":3},{"value":"Which information is sent with each event?","depth":3},{"value":"Which actions can Zapier take in my marketplace?","depth":2},{"value":"Some examples of what you can do with Zapier and Flex","depth":2},{"value":"Zap templates","depth":2},{"value":"Video tutorials","depth":2},{"value":"How to connect Flex to Zapier","depth":3},{"value":"How to send information from Flex to Google Sheets using Zapier","depth":3},{"value":"How to build a text message integration in Sharetribe Flex using Twilio and Zapier","depth":3}]}},"pageContext":{"slug":"set-up-and-use-zapier","category":"how-to-events"}},
    "staticQueryHashes": ["3794076007","439097193","717698143"]}