icon

Zapier: How to Create a PDF with Zapier and CraftMyPDF.com

Table of Contents

With CraftMyPDF’s PDF Generation API and Zapier integration, you can easily automate your workflow to create PDFs from a template. This tutorial will walk you through creating a PDF document with Zapier from CraftMyPDF’s PDF template.

Prerequisite: You need to create a new PDF template first on CraftMyPDF. Read this step-by-step tutorial to create a new PDF template.

1. Login and create a new Zap

(i) Log in to your Zapier account or create a new account.

(ii) Navigate to Zaps on the side menu to create a new Zap

(iii) Setup a trigger for the Zap based on your requirements

2. Setup app & event

(iv) Create an action and search for CraftMyPDF in the App Event. In the Action Event, select Create PDF. Click here to learn about how to obtain the API Key.


(v) In Choose app & event, use your credentials to connect your CraftMyPDF account to Zapier.

3. Setup action

(vi) In the Set up action, select your template in the list. Then, select Payload Type. You can either use Dictionary (Key-value pairs) or JSON.

Types of payload data

There are 2 types of payload, you can either use a Dictionary(flat-structured JSON, key-value pairs) or JSON data.

(a) Dictionary payload data

A Dictionary is a set of simple key-value pairs for flat-structured JSON. The followings are the steps to map JSON data to an expression and the payload on Zapier.

(b) JSON payload data

JSON payload is for complex hierarchical data. (Click here for detailed tutorial)

4. Run test action

(vii) Run the Test action to generate a PDF, and you may use the file for subsequent steps

Recent Posts
blog

How to generate PDF invoices with Zapier

With PDF invoices, it’s easier to send invoices directly to clients without needing paper copies.

In this article, I would be showing you how to generate PDF invoices with Zapier and also help you understand the benefits of doing this. Let’s get to it!

Read More »
blog

Best-performing Banner Ads Sizes in 2023

Choosing the most appropriate banner for your company isn’t always easy. There are lots of things to consider such as the color, size, type of banner, and so on. This could be a little problematic if you have no knowledge of the different types of banner ads but don’t worry, that’s why I’m here.

Read More »
blog

How to create PDF invoices with Bubble.io

In this tutorial, we will create line items for an invoice template.

The takeaway of the tutorial is to build JSON with our Bubble plugin actions Thing(s) to JSON and Build JSON for complex JSON that consists of line items(an array). Then, the JSON will be used for generating the dynamic PDF documents.

Read More »
blog

How to generate PDFs with Retool

Retool is a low-code platform that is used by businesses to build applications faster, these applications include creating admin panels, dashboards, and even PDFs.

This tutorial is going to guide you on creating PDFs with Retool.

Read More »
Copyright ©2023 CraftMyPDF.com

Email us at [email protected] for support