Lee este artículo en español.
How to generate a QR code in Make (HTTP module)
If you automate with Make (formerly Integromat), sooner or later some scenario needs a QR code: an order's tracking link, an event ticket, a contact card, or a coupon. You don't need to install odd apps. With the HTTP module and the Cofferdock API you can set it up in a couple of minutes.
One honest thing to know, because a lot of people search for it that way: Make has no dedicated "generate QR" module. You do it with the generic HTTP module calling an API that generates it. Here's how, field by field.
What you'll get
You send the text or link you want to encode and it returns the QR code in PNG or SVG, ready for the next module in the scenario. The module's response is already the image file, no conversion steps in between.
Typical uses in Make:
- An order's tracking QR, generated as soon as it's created.
- Tickets or passes with a unique QR per attendee.
- Contact cards (vCard) or discount coupons.
- Links to a menu, a form, or a product page.
What you need
- A Cofferdock account. The free plan includes 50 uses a month with no card, great for testing.
- Your API key, created in your dashboard with "+ Create key". It's shown once, so copy and save it.
- The HTTP → Make a request module in your scenario.
Step by step in the HTTP module
Add the HTTP → Make a request module and set it up like this:
- URL:
https://api.cofferdock.com/qr - Method:
POST - Headers: add two →
x-api-keywith your key, andContent-Typewith the valuetext/plain. - Query String: add
size=512. - Body type:
Raw - Content type:
text/plain - Request content: paste the text or link you want to turn into a QR code.
- Leave Parse response off: the response is an image, not JSON.
The module's output is already the image file. Wire it straight into Google Drive (Upload a file), Email as an attachment, or wherever you need it. One module, done.
A quick example
Say you want the tracking QR for every new order. The scenario would be:
- A module that detects the order (a webhook from your store or Google Sheets → Watch Rows) with the tracking link.
- The HTTP module above, which turns that link into a QR code.
- An Email → Send an email module that attaches it (mapping the file the HTTP module returns), or Google Drive → Upload a file to store it.
Every order generates its own QR, automatically.
Options you can tweak
Add them to the Query String in the same module:
| Option | Default | What it does |
|---|---|---|
size | 512 | QR code side length in pixels (64 to 2000). |
format | png | Format: png or svg. |
margin | 2 | Quiet zone around the QR code, in modules (0 to 20). |
dark | #000000 | Color of the dots, as hex. |
light | #ffffff | Background color, as hex. |
ecc | M | Error correction: L, M, Q or H. Higher means the QR code survives more smudging or bending. |
One thing people get stuck on: if your text is 500 characters or less, virtually any scanner reads it fine with the default correction (M).
Prefer to see it in code?
The same call with curl, in case you want to try it on its own:
curl -X POST "https://api.cofferdock.com/qr?size=512" \
-H "x-api-key: YOUR_KEY" \
-H "Content-Type: text/plain" \
--data-binary "https://cofferdock.com/order/1234" \
-o qr.png
How much does it cost?
Each QR code uses 1 credit from your plan. Every Cofferdock tool shares the same pool of credits, so you're not paying for a separate service for each thing.
If you just need one-off QR codes to test or for your website, there's also a free version with no account or credits at cofferdock.com/qr; this guide is for when you want to generate them automatically from a scenario.
FAQ
Does Make have a native module to generate QR codes? No. You do it with the generic HTTP module calling the Cofferdock API, which generates the QR code.
Do I need to turn on "Parse response"? No. The response is an image (a file), not JSON, so leave it off and map the file to the next module.
Can I generate it as SVG instead of PNG? Yes. Set format to svg and you'll get a vector, great if you're going to print it large later.
Can I generate several QR codes at once? Yes. If the previous module returns several items, Make runs the HTTP module once per item.
Try it yourself
You'll find the full instructions, with copy-paste examples, on the QR code generator page. And if you don't have an account yet, you can create one for free and build your first scenario today.