Create Barcode in Zapier
What this action does
PDF4me — Create Barcode generates a standalone barcode or QR code image from any text or dynamic Zap data and returns it as a Base64-encoded file. Choose from six formats — QR Code, Data Matrix, Code128, Aztec, HanXin, and PDF417 — and encode order numbers, product URLs, tracking IDs, or any alphanumeric data automatically. No source PDF is required; the barcode is produced from scratch and can feed directly into storage, email, or a downstream PDF embedding step.
Authenticating Your API Request
Every PDF4me action in Zapier requires a valid Connection. Create or select one that holds your PDF4me API key so the Zap can authenticate barcode generation requests securely.
Important Facts You Should Not Miss

Barcode Type selects the encoding format; Text is mapped from any prior step — an order ID, URL, SKU, or any alphanumeric value.
Parameters
Required: Both Barcode Type and Text must be provided for the action to generate a barcode.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Barcode Type | Yes | Format of the barcode to generate. Options: QR Code, Data Matrix, Code128, Aztec, HanXin, PDF417 — plus 150+ additional types. | QR Code |
| Text | Yes | Data to encode into the barcode. Map a dynamic value from a prior Zap step — order number, URL, SKU, asset ID, or any alphanumeric string. | ORDER-2024-00123 |
Output Fields
| Field | Description |
|---|---|
| File Content | Base64-encoded barcode image — pass to Google Drive, Dropbox, Gmail, or any storage/email step |
Quick Setup
- Add PDF4me → Create Barcode to your Zap.
- Select Account (or click Connect a new account and enter your API key).
- Choose Barcode Type from the dropdown — e.g., QR Code for links, Code128 for inventory labels.
- Map Text to the dynamic field you want to encode — e.g.,
{{Order Number}}from Shopify. - Add a follow-up step — save the File Content to Google Drive, attach it to a Gmail message, or pass it to Add Barcode or QR Code to PDF for embedding.
Workflow Examples
Workflow ExamplesCommon Zapier patterns using PDF4me Create Barcode.
- Shopify trigger fires on new order.
- PDF4me Create Barcode runs with Barcode Type set to QR Code and Text mapped from Order Number.
- Gmail attaches the Base64 barcode image to the order confirmation email.
- Google Drive saves the barcode image to the /Order Barcodes/ folder for records.
- New row added to Google Sheets (product register) triggers the Zap.
- PDF4me Create Barcode encodes the SKU value into a Code128 barcode.
- PDF4me Add Barcode or QR Code to PDF embeds it into the label template PDF.
- Dropbox saves the labeled PDF to /Product Labels/ for the warehouse team.
- New registration in Eventbrite triggers the Zap.
- PDF4me Create Barcode generates a QR Code from the Attendee ID and Event Name.
- PDF4me Fill a PDF Form embeds the QR code into the ticket template.
- Gmail emails the completed ticket PDF to the attendee automatically.