Quick overview
This workflow creates a daily PDF report from a webpage URL with PDFBolt, posts it to Slack, and archives the same PDF in Google Drive.
How it works
- Runs every day at 08:00 on a scheduled trigger.
- Sets the report date, webpage URL, report title, Slack message, and a dated PDF filename.
- Converts the configured webpage URL into an A4 PDF with PDFBolt, using Network Idle so charts, images, and async content can finish loading.
- Uploads the generated PDF to Slack with a title, filename, and initial comment.
- Uploads the same PDF file to a selected Google Drive folder for storage.
Setup
- Add your PDFBolt API key from https://app.pdfbolt.com/api-keys in n8n.
- Add a Slack OAuth2 connection and replace the Slack channel ID with your target channel.
- Add a Google Drive OAuth2 connection and choose the destination Drive and folder for archived reports.
- Update the report URL and report name values in the report settings code so they match the page you want to capture.
Requirements
- PDFBolt account and API key
- Slack account connected in n8n
- Google Drive account connected in n8n
Customization
- Change the report URL, report name, and PDF filename
- Choose a different Slack channel
- Choose a different Google Drive folder
- Adjust PDF options such as page format, landscape mode, or wait condition
Additional info
PDFBolt returns the generated PDF as binary field data. Slack and Google Drive use that field for the file upload and archive, so keep the field name unchanged unless you also update those nodes.