PDF Export
Exports a Google Slides presentation as a PDF file.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Presentation Id - The ID of the Google Slides presentation to export as PDF.
- File Path - The local file path where the PDF will be saved.
Options
- Credentials - Google account credentials used to authenticate with the Google Slides API.
How It Works
The PDF Export node converts a Google Slides presentation to PDF format and saves it to a specified local file path. When executed, the node:
- Validates the provided Presentation Id and File Path inputs
- Authenticates with Google Slides API using the provided credentials
- Exports the presentation as a PDF using the Google Drive API
- Saves the PDF file to the specified local file path
Requirements
- A valid Google Slides presentation ID
- Valid Google API credentials with appropriate permissions
- A valid local file path for saving the PDF
- Proper permissions to access the presentation and write to the file path
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Presentation Id
- Empty or invalid File Path
- Invalid or missing Google API credentials
- Google Slides API authentication errors
- Insufficient permissions to access the presentation
- Invalid presentation ID
- File system errors when saving the PDF
- Google Drive service errors
Usage Notes
- The Presentation Id can be found in the URL of the Google Slides presentation
- The File Path should be a complete local path including the filename and .pdf extension (e.g., C:\Documents\presentation.pdf)
- The node will overwrite the file if it already exists at the specified path
- Ensure the authenticated account has permission to access the presentation
- The exported PDF will maintain the formatting and layout of the original presentation
- The PDF export uses default Google Slides export settings
- Make sure the application has write permissions to the specified file path directory