Integrating Zettle POS with Gmail

:bullseye: What is your goal?

I have only recently started looking at this, but am finding it incredibly confusing as someone who is not used to this type of work. I run an art gallery, selling the work of multiple artists. I am trying to get my Zettle point of sale to trigger an automatic email to the artist if a piece of their work sells, but am really struggling to follow all the instructions that come up when I google this and seem to be going around in circles. Has anyone else tried to set this up?

:thinking: What is the problem?

I am still trying to do the basic set up, but am really confused by the insttructions when I google it.

:test_tube: What have you tried so far?

I have tried using google, the Make.com help centre and I have searched on here too, but cannot find anything that has made it clear as to how I can do this. Any help/step by step instructions would be gratefully received!

Hey there,

Zettle is not directly available as a module in Make I think, you will need to check their documentation on how to setup a webhook that will get triggered every time there is a sale.

Then the Make scenario will start with a webhook module that will receive it and then send the email.

Check first whether Make has a Zettle module. If not, Zettle can push purchase events out through its API, so you can point a Make custom webhook at it. Then keep a sheet mapping each product to the artist’s email, look the sold item up there, and send the Gmail message from that row.

Hi @Todders79, this is very doable, and you only need to set it up once. Make doesn’t have a Zettle app, so here’s the simplest route step by step:

  1. Make a Google Sheet with two columns: Product name (exactly as it’s spelled in Zettle) and Artist email.
  2. In Make, create a new scenario and start it with Webhooks → Custom webhook. Copy the URL it gives you.
  3. Tell Zettle to call that URL on every sale. In Zettle’s developer portal, create a “self-hosted” API key. Then a single HTTP → Make a request module, run once, subscribes the webhook to the PurchaseCreated event. After that you never touch this step again.
  4. Back in the scenario: an Iterator over the products in the sale, then Google Sheets → Search rows to find the artist, then Gmail → Send an email to that artist (“Your piece X sold today for £Y”).
  5. Add a filter so items with no matching artist email go to you, not nowhere.

Make one test sale first and check the webhook shows the product names before you add the email step.

If you’d rather have someone set it up with you over a short screen share, I’m happy to help.