添加页码 PDF 为了 Zapier
此操作的作用
此操作的作用: 这 PDF4me 添加页码 PDF 该操作会在每一页上印上连续的页码。 PDF 在 Zap 中,选择页码的显示位置——顶部、中部或底部;左侧、居中或右侧——并调整字体大小、粗体/斜体样式、毫米边距和页码格式。启用 跳过第一页 封面不编号。输出结果为一个新的编号版本。 PDF 准备保存到 Google 云端硬盘、通过电子邮件发送、上传到 SharePoint或者进入下一步。 Zapier 工作流程。
相关博客文章
目前尚无关于此功能的博客文章——敬请期待。
在此期间,您可以浏览 PDF4me 博客,查看适用于各平台的教程和工作流程。
访问博客 →
验证您的身份 API 要求
每一个 PDF4me 行动 Zapier 需要有效 API 密钥。连接 PDF4me 一旦进入 Zapier帐户设置 - 您的密钥将被安全存储并在所有帐户中重复使用 PDF4me 自动启动。
您不容错过的重要事实
文件、垂直对齐和水平对齐都是必需的。
必须提供全部三项信息,否则操作失败。文件包含…… PDF 从触发器中获取二进制数据;垂直对齐方式将数字定位在页面高度方向(上/中/下);水平对齐方式将数字定位在页面宽度方向(左/中/右)。测试前请先映射这三项。
当对齐方式为居中或居中时,边距将被忽略。
水平边距仅在左对齐或右对齐时生效——它设置页面与最近边缘之间的距离。居中对齐时,水平边距会被忽略。垂直边距也是如此:它仅在顶部和底部对齐时生效,居中对齐时会被忽略。在精确定位页码时,请记住这一点。
跳过第一页会导致封面不编号,但顺序不会重置。
如果“跳过首页”设置为真,则第 1 页(标题页或封面页)不会显示页码。第 2 页显示的页码是“2”而不是“1”,因为页码是从文档中的绝对位置开始计数的。这符合标准的出版和法律文件惯例。

参数
⚠️ 标有“必填”的参数必须提供 要执行此操作,需要提供可选参数。这些参数控制数字格式、字体样式和边距——省略时将应用默认值。
| 范围 | 必需的 | 它的作用 | 例子 |
|---|---|---|---|
| File | Yes | The PDF file to add page numbers to. Map the binary file output from a Zapier trigger or previous action - Google Drive file, Gmail attachment, OneDrive/Dropbox file, or a PDF generated by an earlier Zap step. | quarterly_report.pdf (from Google Drive trigger) |
| Vertical Alignment | Yes | Vertical position of the page number on the page. Top - near the top edge. Middle - equidistant from top and bottom edges (Vertical Margin is ignored). Bottom - near the bottom edge. | Bottom |
| Horizontal Alignment | Yes | Horizontal position of the page number across the page. Left - near the left edge. Center - centred across the page (Horizontal Margin is ignored). Right - near the right edge. | Center |
| File Name | No | Custom name for the output PDF file. If omitted, the name is derived automatically from the source file. Do not include the path - just the filename with or without the .pdf extension. | report_numbered.pdf |
| Page Number Format | No | The format string used to display page numbers. Supports numeric (1, 2, 3…), Roman numerals (i, ii, iii…), and compound formats such as "Page 1 of N". See the Zapier dropdown for all available options. | Page 1 of N |
| Horizontal Margin | No | Gap in millimetres from the nearest horizontal edge. Applied when alignment is Left (gap from left edge) or Right (gap from right edge). Ignored when alignment is Center. Default: 0. | 10 |
| Vertical Margin | No | Gap in millimetres from the nearest vertical edge. Applied when alignment is Top (gap from top) or Bottom (gap from bottom). Ignored when alignment is Middle. Default: 0. | 10 |
| Font Size | No | Point size for the page number text. Controls visibility and proportion relative to the page content. Recommended range: 8-14 pt for standard A4/Letter documents. | 12 |
| Set Bold | No | Apply bold weight to the page number text. true - bold numbers; false - normal weight. Useful for making numbers stand out on dense pages. | false |
| Set Italic | No | Apply italic style to the page number text. true - italic; false - upright. Often used to visually distinguish page numbers from body text. | false |
| Skip First Page | No | When true, no page number is stamped on page 1 (the title or cover page). The numbering sequence continues from the actual page position - page 2 shows "2", not "1". Standard for reports, proposals, and legal documents with a cover. | true |
输出字段
| 输出字段 | 描述 |
|---|---|
File | URL of the numbered PDF ready to download, upload, or pass to the next Zap step |
File Name | Output filename without extension |
Full File Name | Complete filename including the .pdf extension |
File Extension | File extension of the output document (always .pdf) |
快速设置
- 创建或打开一个 Zap 并添加一个提供以下功能的触发器 PDF - Google 云端硬盘文件夹中的新文件、Gmail 中的新附件、OneDrive 或表单提交上传。
- 添加操作步骤 → 搜索 PDF4me → 选择 添加页码 PDF。
- 认证 你的 PDF4me API 如果尚未连接,请输入密钥。
- 地图文件 来自触发输出(二进制文件字段,而不是 URL 关联)。
- 设置垂直对齐方式 - 选择页码的垂直位置:顶部、中间或底部。
- 设置水平对齐方式 - 选择左、中或右。
- 配置可选设置:根据需要设置页码格式、字体大小、粗体、斜体和页边距。
- 启用跳过第一页 如果您的文档有标题页或封面页,则不应编号。
- 测试该步骤 - Zapier 将处理样品 PDF 并返回输出文件 URL。
- 添加下游步骤 - 上传编号文件 PDF 发送到 Google 云端硬盘、通过 Gmail 发送或传递文件 URL 执行下一步操作。
工作流程示例
工作流程示例Common Zapier patterns using Add Page Number to PDF.
报表生成器 → 编号 PDF → 电子邮件发送
自动为生成的报告添加页码,并通过电子邮件发送最终报告。 PDF 对利益相关者而言。
- Google 云端硬盘:文件夹中的新文件 - 请查看“报告,待处理”文件夹,了解新生成的文件。 PDFs
- PDF4me添加页码 PDF - 地图文件;垂直对齐方式 = 底部,水平对齐方式 = 居中;页码格式 = '第 1 页,共 N 页';跳过首页 = true
- Google 云端硬盘:上传文件 - 保存编号 PDF 到“最终报告”文件夹
- Gmail:发送电子邮件 - 附加编号邮件 PDF发送至财务或管理层通讯录
合同已创建 → 添加页码 → 保存 SharePoint
合同生成后立即盖上顺序页码,并将其存档。 SharePoint 为了遵守法律法规。
- PDF4me (或 DocuSign / PandaDoc):新合同 PDF 生成后可保存在 Google 云端硬盘或作为 Zap 输出文件。
- PDF4me添加页码 PDF - 设置底部和右侧对齐;垂直边距 = 8 毫米;水平边距 = 12 毫米;字体大小 = 10;加粗 = 是;跳过第一页 = 是
- 微软 SharePoint创建文件 - 将编号合同上传到“已签署合同”文档库
- Slack:在 #legal 频道发布消息 - 通知团队合同名称、完整文件名中的页数,以及 SharePoint 关联
培训手册已更新 → 页数 → 上传至学习管理系统
培训手册 PDF 在 Dropbox 中更新后,添加页码并将更新后的文档推送到您的学习管理系统。
- Dropbox:文件夹中新增或更新的文件 - 请查看“培训手册”文件夹
- PDF4me添加页码 PDF - 根据 Dropbox 文件名动态设置文件名;置于顶部和右侧;字体大小 = 11;封面页跳过首页 = true
- Zapier 筛选条件:仅当完整文件名以 .pdf 结尾时继续(跳过非 .pdf 文件)PDF 上传)
- TalentLMS / Teachable / Moodle:上传或更新带有编号的课程材料 PDF URL 从输出文件字段
常见问题解答
相关操作
在PDF中添加文字水印
在对角线上盖上机密、草稿或自定义文本水印 PDF 页码 - 与页码结合使用,打造完全品牌化的文档。
在 PDF 上添加印章
将图像印章(徽标、批准标记、印章)应用于 PDFs - 与页码配合使用,可生成格式完整、可直接打印的文档。
合并PDF
组合多个 PDFs 在添加页码之前将它们合并为一个整体——确保最终序列按正确的顺序覆盖整个合并文档。