Create Presentation
Creates a new Google Slides presentation.
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
- Title - The title for the new Google Slides presentation.
Options
- Credentials - Google account credentials used to authenticate with the Google Slides API.
- Share With - An array of objects specifying users to share the new presentation with. Each object must contain Role, Type, and EmailAddress properties. An optional EmailMessage property can also be included.
- Send Notification Mail - If enabled, sends notification emails to users when sharing the presentation.
Output
- Presentation Id - The ID of the newly created presentation.
How It Works
The Create Presentation node generates a new Google Slides presentation with the specified title. When executed, the node:
- Validates the provided Title input
- Authenticates with Google Slides API using the provided credentials
- Creates a new presentation with the specified title
- Optionally shares the new presentation with specified users
- Returns the ID of the newly created presentation
Requirements
- A valid title for the new presentation
- Valid Google API credentials with appropriate permissions
- Proper Google Drive permissions to create and share files
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Title
- Invalid or missing Google API credentials
- Google Slides API authentication errors
- Insufficient permissions to create presentations
- Invalid Share With configuration
- Google Drive service errors
Usage Notes
- The Title input sets the name of the new presentation
- The Share With option allows you to specify an array of users to share the new presentation with
- Each Share With object should include:
- Role: The permission role (e.g., "writer", "reader", "owner")
- Type: The type of user (e.g., "user", "group")
- EmailAddress: The email address of the user or group
- EmailMessage (optional): A custom message to include in the sharing notification
- If Send Notification Mail is enabled, users will receive email notifications when the presentation is shared with them
- The output Presentation Id can be used with other Google Slides nodes to modify the presentation
- The newly created presentation will be accessible in the authenticated user's Google Drive