Google Cloud Run JWT Auth Token Manager (Sub-Workflow)
Reusable sub-workflow that validates and refreshes JWT id_tokens for secure Google Cloud Run API calls, with automatic token reuse and exchange using service account credentials.
This sub-workflow provides a lightweight, reusable authentication layer for calling Google Cloud Run services from n8n. It checks if an incoming id_token is present and valid (with a 5-minute buffer). If valid, it passes it through; otherwise, it signs a short-lived JWT using your service account private key, exchanges it at Google's OAuth token endpoint, and returns a fresh id_token. It also forwards the service_url and optional service_path for immediate use in the calling workflow.
Ideal for
- Platform
- n8n
- Category
- Travel
- Price
- $12.99
- Creator
- QualityWorkflows
- Google Cloud
- Cloud Run
- JWT
- Authentication
- Token Management
- Security
- OAuth
- API Integration
- n8n Sub-workflow
- DevOps
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Travel workflows
- Webhook Filter Sync for Accommodation Booking$6.99
- Automate Flight Searches and Recommendations with DeepSeek AI and Google Flights$4.99
- Daily Weather Forecast Emails with MeteoSource and Gmail$4.99
- Automate Airbnb Searches via Telegram with AI and Voice Support$9.99
- Automate Daily Weather Updates via Telegram Using OpenWeatherMap$9.99
- Automate Flight Price Tracking with Bright Data and n8n$9.99
More from QualityWorkflows
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.