AutomationMart
Home/Browse/Securely call private Google Cloud Run APIs with JWT authentication (simplified)
n8n

Securely call private Google Cloud Run APIs with JWT authentication (simplified)

n8nn8n5 modulesv1.0
httpRequestjwtmanualTriggerset

Who it’s for? Anyone who wants a dead-simple, free-tier friendly way to run custom API logic on Google Cloud Run and call it securely from n8n—no public exposure, no local hosting. What it does Minimal flow: Set → JWT (sign) → HTTP (token exchange) → HTTP (call Cloud Run with Authorization: Bearer <idtoken> ). No caching, no extras—just enough to authenticate and hit your endpoint. How to set up General instructions below—see my detailed guide for more info: Build a Secure Google Cloud

At a glance

Securely call private Google Cloud Run APIs with JWT authentication (simplified) is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects httpRequest, jwt, manualTrigger, set. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
httpRequest, jwt, manualTrigger, set
Modules
5
Price
Free
Version
v1.0
Securely call private Google Cloud Run APIs with JWT authentication (simplified) workflow diagram

About this workflow

Who it’s for? Anyone who wants a dead-simple, free-tier friendly way to run custom API logic on Google Cloud Run and call it securely from n8n—no public exposure, no local hosting. What it does Minimal flow: Set → JWT (sign) → HTTP (token exchange) → HTTP (call Cloud Run with Authorization: Bearer <idtoken> ). No caching, no extras—just enough to authenticate and hit your endpoint. How to set up General instructions below—see my detailed guide for more info: Build a Secure Google Cloud Run API, Then Call It from n8n (Free Tier) Setup: 1. Create a Cloud Run service and enable Require authentication (Cloud IAM). 2. Create a Google Service Account with Cloud Run Invoker on that service. 3. In n8n, set serviceurl, clientemail, tokenuri ( in Set. 4. Create a JWT (PEM) credential from your service account key (paste the full BEGIN/END block). 5. Run the workflow; the second HTTP node calls your Cloud Run URL with the ID token. Requirements - Cloud Run service URL (auth required) - Google Service Account with Cloud Run Invoker - Private key JSON fields downloaded from Service Account | needed to generate JWT credentials More details Full write-up (minimal + modular versions): Build a Secure Google Cloud Run API, Then Call It from n8n (Free Tier)

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Custom branded QuickBooks invoices to PDF & email

Automated QuickBooks Invoice to Custom PDF & Email Tired of the standard, boring invoices from QuickBooks Online? This workflow completely automates the process of creating beautiful, custom-branded PDF invoices and emailing them directly to your clients, saving you time and elevating your brand's professionalism. The moment you create an invoice in QuickBooks, this workflow triggers, fetches all the necessary data, and generates a lavish, multi-page-aware PDF invoice complete with your company

Free

Lead generation agent

Who this is for This workflow is for digital marketing agencies or sales teams who want to automatically find business leads based on industry & location, gather their contact details, and send personalized cold emails — all from one form submission. --- What this workflow does This workflow starts every time someone submits the Lead Machine Form. It then: Scrapes business data (company name, website, phone, address, category) using Apify based

Free

Sync lead replies from Google Sheets to GHL CRM & create ClickUp follow-up tasks

Description Keep your CRM and task system perfectly in sync — automatically. This workflow monitors a Google Sheet for lead reply updates, instantly updates the corresponding contact in GoHighLevel (GHL), and creates a ClickUp follow-up task when a response is detected. It ensures your sales team never misses a warm lead and every reply is logged, tracked, and acted upon. ⚡ What This Template Does - Watches a Google Sheet for reply status changes (“Yes” in the Replied column). 📄 - Filters only r

Free

Track SEO keyword rankings with Bright Data MCP and GPT-5.2 AI analysis

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. This workflow automatically monitors keyword rankings across search engines to track SEO performance and identify optimization opportunities. It saves you time by eliminating the need to manually check keyword positions and provides comprehensive ranking data for strategic SEO decision making. Overview This workflow automatically scrapes search engine results pages (SERPs) to track keywor

Free

Seo blog publishing for Jekyll with GPT-4, GitHub & social sharing

Auto-Publish SEO Blog Posts for Jekyll with AI + GitHub + Social Sharing This workflow automates the entire process of publishing SEO-optimized blog posts (e.g., recipes) to a Jekyll site hosted on GitHub. It uses LangChain + OpenAI to write long-form Markdown articles, and commits them directly to your repository. Optional steps include posting to X (Twitter) and LinkedIn. 🔧 Features - 📅 Scheduled Execution: Runs daily or manually. - 📥 CSV Input: Reads from a local CSV (/data/recipes.csv) with

Free

B2B lead qualification

This automated n8n workflow qualifies B2B leads via voice calls using the VAPI API and integrates the collected data into Google Sheets. It triggers when a new lead’s phone number is added, streamlining lead qualification and data capture. What is VAPI? VAPI is an API service that enables voice call automation, used here to qualify leads by capturing structured data through interactive calls. Good to Know - VAPI API calls may incur costs based on usage; check VAPI pricing for details. - Ensure G

Free

Analyze stocks in Telegram with Twelve Data, GPT-4o and o3-mini

TwelveData Pro Analyst — AI-Powered Stock Analysis Bot for Telegram Turn your Telegram into a personal Bloomberg terminal. Ask any question about any stock — get institutional-grade analysis back in seconds. What Is This? TwelveData Pro Analyst is a complete, ready-to-import n8n workflow that connects a Telegram bot to live financial market data and an AI analyst called Ade — a persona built to deliver the kind of rigorous, data-backed stock analysis that professional traders rely on. You messag

Free

Detect competitor tech adoption and notify AEs with PredictLeads, Sheets and Gmail

Detect when target accounts adopt competitor technology by enriching company watchlists with PredictLeads tech detection data and emailing the assigned AE. This workflow monitors a Google Sheets watchlist of company domains for competitor technology adoption. It checks each company against the PredictLeads Technology Detections API, and when a match is found (e.g., a prospect starts using Salesforce), it sends an alert email to the account executive responsible for that account. How it works:

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free