メインコンテンツへスキップ

変換する URL に PDF 使用 n8n アクション

PDF4me 変換する URL に PDF ウェブページを高品質に変換します PDF 文書を通じて n8n 自動化ワークフロー。プロセスウェブ URL離れて n8n 完全なウェブページをキャプチャするためのトリガー HTML、 CSS、 JavaScript画像、フォント、インタラクティブ要素を正確なレンダリング、レスポンシブレイアウト処理、フルページキャプチャ、プロフェッショナルなフォーマットで表示します。このソリューションは、信頼性の高いWebページアーカイブ、ドキュメント生成、コンテンツ保存、コンプライアンスレポート作成、Webスクレイピング、自動スナップショット、デジタル記録管理ワークフローに最適です。 URL-に-PDF 正確なウェブレンダリングとシームレスな統合による変換。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

設定​

追加する PDF4me "変換する URL に PDF「ノードをあなたの n8n ワークフローを実行し、必要なパラメータを設定します。初期設定手順については、こちらをご覧ください。 n8n 統合ガイド。

前提条件:

  • PDF4me API 資格
  • n8n ワークフローへのアクセス

構成:

  1. 追加 PDF4me ノードからワークフローへ
  2. 「変換」を選択してください URL に PDF" アクション
  3. 入力パラメータを設定します(下記参照)。
URLをPDFに変換する

パラメータ​

Convertのパラメータ一覧 URL に PDF アクション。これらのパラメーターを設定して制御します。 URL に PDF 変換。

重要: アスタリスク(***)が付いているパラメータは必須であり、アクションが正しく機能するためには必ず指定する必要があります。

パラメータ必須その機能例
Web URLRequiredWeb URL of the page to be converted to PDF.https://example.com/page
File NameOptionalOutput PDF file name with extension. Default is `converted_page.pdf`.converted_page.pdf
Authentication TypeOptionalAuthentication type for the target website. Options: No Authentication, Basic Authentication. Default is `No Authentication`.No Authentication
UsernameConditionalUsername if authentication is required. Shown when Authentication Type is Basic Authentication.
PasswordConditionalPassword if authentication is required. Shown when Authentication Type is Basic Authentication.
Page LayoutOptionalPage orientation for the PDF. Options: Portrait, Landscape. Default is `Portrait`.Portrait
Page FormatOptionalPage format for the PDF. Options: A0, A1, A2, A3, A4, A5, A6, A7, A8, Executive, Legal, Statement, Tabloid. Default is `A4`.A4
Binary Data Output NameOptionalCustom name for the binary data in n8n output. Default is `data`.data
Advanced OptionsOptionalOptional settings, collapsed behind Add Option.Add Option
Bottom MarginOptionalBottom margin of PDF (e.g., 20px, 1cm, 0.5in). Default is `20px`.20px
Custom ProfilesOptionalUse "JSON" to adjust custom properties. Review Profiles at https://developer.pdf4me.com/api/profiles/index.html to set extra options for API calls.{ "outputDataFormat": "base64" }
Display Header FooterOptionalWhether to show header and footer in PDF. Default is `No`.No
Left MarginOptionalLeft margin of PDF (e.g., 20px, 1cm, 0.5in). Default is `20px`.20px
Print BackgroundOptionalWhether to include background colors and images. Default is `Yes`.Yes
Right MarginOptionalRight margin of PDF (e.g., 20px, 1cm, 0.5in). Default is `20px`.20px
ScaleOptionalScale factor for the web page (e.g., 0.8 = 80%). Default is `1`.1
Top MarginOptionalTop margin of PDF (e.g., 20px, 1cm, 0.5in). Default is `20px`.20px

出力​

出力パラメータ​

分野タイプ内容物
fileNameStringFile name of the resulting file.
mimeTypeStringMIME type of the resulting file, for example `application/pdf`.
fileSizeNumberSize of the resulting file in bytes.
successBooleanTrue when the operation succeeded.
sourceUrlStringWeb URL that was converted.
layoutStringPage layout (orientation) that was used.
formatStringPage format (size) that was used.
dataBinaryThe resulting PDF.

###N8N 行動対応

の PDF4me 変換する URL に PDF API 複数の形式で表示可能なレスポンスを返します。ニーズに最適な表示形式を選択してください。

JSON 回答形式

生 JSON からの応答 API:

[
{
"fileName": "URL_TO_PDF.pdf",
"mimeType": "application/pdf",
"fileSize": 1347439,
"success": true,
"sourceUrl": "https://en.wikipedia.org/wiki/Main_Page",
"layout": "portrait",
"format": "A4"
}
]

ユースケース​

ウェブコンテンツのアーカイブと法的文書作成​

  • ウェブページ、オンライン記事、デジタルコンテンツを変換して PDF 法的証拠、コンプライアンス文書、および規制記録の保管のためのフォーマット
  • 動的なウェブコンテンツ、ソーシャルメディアの投稿、オンラインコミュニケーションを変換して処理します。 PDF 法的証拠開示、訴訟支援、および証拠保全のためのフォーマット
  • ウェブサイトのスナップショット、オンラインドキュメント、デジタルアセットをアーカイブして PDF 歴史的保存、コンプライアンス監査、および規制報告のためのフォーマット

ビジネスインテリジェンスと競合分析​

  • 競合他社のウェブサイト、市場調査ページ、業界レポートを変換して PDF 競合分析、市場情報、戦略計画のためのフォーマット
  • オンラインダッシュボード、分析レポート、ビジネス指標を変換して処理します。 PDF 経営幹部向け報告書、取締役会向けプレゼンテーション、および利害関係者向けコミュニケーションのフォーマット
  • ウェブベースのアンケート、顧客からのフィードバック、オンラインレビューを変換して PDF 分析、報告、およびビジネス上の意思決定のためのフォーマット

コンテンツ管理とデジタル出版​

  • ウェブベースのコンテンツ、オンライン記事、デジタル出版物を変換して PDF 印刷配布、オフラインアクセス、コンテンツアーカイブのためのフォーマット
  • オンラインフォーム、Webアプリケーション、デジタルワークフローを変換して処理します。 PDF 記録管理、コンプライアンス文書、およびプロセス文書のフォーマット
  • ウェブベースのカタログ、製品ページ、マーケティングコンテンツを変換して PDF オフライン配布、印刷物によるマーケティング、顧客コミュニケーションのためのフォーマット

ヘルプが必要な場合​