This n8n workflow automates Google Slides operations like creating presentations, retrieving slides, and replacing text. Key nodes include Webhook Trigger (receives POST requests), Extract Request Metadata (captures client data), Google API Rate Limit Check, Validate and Sanitize Input, Create/Get/Replace Text/Get Page/Get Thumbnail (API interactions), and Success/Error Response nodes (handle outputs). Set up Requirements and Configuration: Install n8n by downloading from n8n.io for self-hosting or sign up at cloud.n8n.io for cloud setup. Follow installation prompts or create a cloud account. Obtain Google API credentials from console.cloud.google.com: create a project, enable the Google Slides API, go to 'Credentials,' create a Service Account, download the JSON key file, and note the client email and private key. In n8n, import the provided JSON to create the workflow. Configure Google Slides nodes (Create, Get, Replace Text, Get Page, Get Thumbnail) with your Service Account credentials under 'Credentials,' selecting 'Google API.' Set the Webhook Trigger node’s path to 'slides/operations,' enable header authentication with a secure key, and ensure it accepts POST requests. The Validate and Sanitize Input node checks operation type, presentation ID, and text inputs. Testing and Deployment Steps: Test by sending a POST request to the Webhook URL (from the Webhook Trigger node) using Postman. Example JSON body: {'operation': 'create', 'title': 'New Presentation'} or {'operation': 'replacetext', 'presentationId': 'your-presentation-id', 'searchText': 'old', 'replaceText': 'new'} with the authentication header. The 'Google Slides Success Response' node returns a 200 status with operation results, or 'Validation Error Response' (400 status) for invalid inputs like missing presentation IDs. The 'API Rate Limit Response' (429 status) triggers if exceeding 30 requests per minute. The 'Presentation Not Found Response' (404 status) indicates an invalid presentation ID. Activate the workflow in n8n’s interface for deployment. Monitor logs for errors like invalid credentials or incorrect IDs, and verify API permissions or input formats if issues occur.
$6.99
Workflow steps: 24
Integrated apps: webhook, set, code