# Auto-Fill PDF from an Email — Using Zapier + TakeForm

In this tutorial, you’ll learn how to automatically fill a pdf form by using data from body of email — all powered by **Zapier** and **TakeForm**.

## Step 1: Upload your Form to TakeForm

> *Skip this step if you’ve already uploaded your form.*

Follow guide [upload-your-pdf-form](https://takeform.gitbook.io/docs/upload-your-pdf-form "mention") to upload your form and get `form_id` , you will need it to setup Zapier Action. In this tutorial, I will fill w-9 form of US. The id is `ff6957fb-9401-429d-9c86-f524000e4394`&#x20;

<figure><img src="https://613884643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxm5mCt3c3OJ0EFSgALPR%2Fuploads%2Fi1lHJxPqZRc3XexctXB6%2FScreenshot%202025-04-17%20at%2015.28.28.png?alt=media&#x26;token=0d573ae9-f87c-44bb-9953-9050601fad07" alt=""><figcaption><p>Form Id in Header</p></figcaption></figure>

## Step 2: Get a TakeForm Api Key

> *Skip this step if you’ve already uploaded your key*

Follow guide [api-key](https://takeform.gitbook.io/docs/api-developer/api-key "mention") to get an Api Key. You will need it to authenticate with TakeForm from Zapier. In this tutorial, the API key is `0d45d24d-a9d4-446f-b17a-e7529e5ca59e` (don't worry, I removed it in my account).

## Step 3: Create Zap and add Email Trigger

> You can use other trigger like Google Form, Gmail, Outlook, etc. TakeForm AI can understand all their contents.

1. Create Zap in <https://zapier.com/>
2. Add a Zapier Email Trigger (or another email platform that you want to use)
3. Set `Trigger event` is **New inbound email.** It means this Zapier app will be triggered by new email.
4. Set `Email Address` for the Email Trigger. I use `w9-takeform` .
5. Test trigger by send and sample mail to the `Email Trigger`  then click next to move to next step.

<figure><img src="https://613884643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxm5mCt3c3OJ0EFSgALPR%2Fuploads%2FbZO9V1fsCWCVSXLFMOxV%2FScreenshot%202025-04-17%20at%2022.35.57.png?alt=media&#x26;token=a7159822-e1b4-45aa-ad90-bc5cef19b006" alt="" width="188"><figcaption></figcaption></figure>

## Step 4: Add TakeForm (1.0.0) Fill Form Action.

1. Click add Action in Zap.

&#x20;

<figure><img src="https://613884643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxm5mCt3c3OJ0EFSgALPR%2Fuploads%2Fa6geuQynlEUGrHNzOI4Y%2FScreenshot%202025-04-17%20at%2022.37.32.png?alt=media&#x26;token=04c20c18-90f8-4d16-93b7-a5f78cd02923" alt="" width="375"><figcaption></figcaption></figure>

2. Type "TakeForm" and choose **TakeForm (1.0.0) integration.**

<figure><img src="https://613884643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxm5mCt3c3OJ0EFSgALPR%2Fuploads%2FczJliWAyVWqHoTjLi72N%2FScreenshot%202025-04-17%20at%2022.38.58.png?alt=media&#x26;token=050358d2-2a92-4756-a133-b652a66c2eac" alt="" width="375"><figcaption></figcaption></figure>

3. Set `Action Event` is **Fill PDF Form**
4. Click `Account`Zapier will pop up a window. You need to enter your API key (in [#step-2-get-a-takeform-api-key](#step-2-get-a-takeform-api-key "mention")) into the box and run authentication.

<figure><img src="https://613884643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxm5mCt3c3OJ0EFSgALPR%2Fuploads%2Fdd2EZrMr2m2RC7edumRF%2FScreenshot%202025-04-17%20at%2022.43.57.png?alt=media&#x26;token=a9eb5d34-f0fc-474f-adbf-893b686a2dea" alt="" width="375"><figcaption></figcaption></figure>

5. Set the `Form ID` to the form you uploaded (in [#step-1-upload-your-form-to-takeform](#step-1-upload-your-form-to-takeform "mention")). For me, it's w-9 form with id `ff6957fb-9401-429d-9c86-f524000e4394`&#x20;
6. Set `Dynamic Data` is Stripped Text of Email Trigger.

<figure><img src="https://613884643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxm5mCt3c3OJ0EFSgALPR%2Fuploads%2FSi4S1xMB016ghDoG6u4Z%2FScreenshot%202025-04-17%20at%2022.48.55.png?alt=media&#x26;token=0e82d3f5-801d-41dd-a850-9b75510dd99f" alt="" width="375"><figcaption></figcaption></figure>

7. Click **Continue**. Done! You've completed the Zap. Now it's time for testing.

***

## Testing new Zap

I will send an email to email trigger (`w9-takeform.o3v7nb@zapiermail.com`) with content

```
Hi Team,

Please find below the required details to complete the W-9 form for our vendor setup:

- Name: John A. Smith  
- Business Name: Smith Consulting LLC  
- Federal Tax Classification: Limited Liability Company (LLC)  
- Tax Classification Type: C Corporation  
- Address: 123 Business Rd, Suite 456, San Francisco, CA 94107  
- Social Security Number (SSN):  
- Employer Identification Number (EIN): 12-3456789  
- Signature Name: John A. Smith  
- Date: April 17, 2025  

Let me know if you need anything else.

Best,  
John
```

This is the result

{% file src="<https://613884643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fxm5mCt3c3OJ0EFSgALPR%2Fuploads%2F96m7E2giEwvnVRIxRLmp%2Fw-9%20filled.pdf?alt=media&token=8b87cb6d-314b-4e19-b3ad-00eef007e910>" %}

***

## Video Demo

{% embed url="<https://youtu.be/H021IEe4SgA>" %}
Zapier x TakeForm
{% endembed %}
