Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Demo Workflow - How to use workflowStaticData()

n8n template #2538
This workflow demonstrates how to use the workflowStaticData() function to set any type of variable that will persist within workflow executions. https://docs.n8n.io/code/cookbook/builtin/get-workflow-static-data/ This can be useful for example when working with access tokens that expire after a certain time period. Using staticData we can keep a record of that access token and the expiry time and build our workflow logic around it. Important Static Data only persists across production executions, i.e. triggered by Webhooks or Schedule Triggers (not manual executions!) For this the workflow will have to be activated. Setup configure HTTP Request node to fetch access token from your API (opti

Hand off to your agent

Prompt

Help me set up the n8n workflow "Demo Workflow - How to use workflowStaticData()" (https://n8n.io/workflows/2538). It uses: HTTP Request, Code. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Similar workflows

NameViews
  1. Generate AI Viral Videos with Seedance and Upload to TikTok, YouTube & Instagram215K
  2. ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
  3. Fully Automated AI Video Generation & Multi-Platform Publishing191K
  4. Scrape business emails from Google Maps without the use of any third party APIs150K
  5. Build Your First AI Data Analyst Chatbot134K
  6. AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs93K
  7. Create a Branded AI-Powered Website Chatbot88K
  8. Clone Viral TikToks with AI Avatars & Auto-Post to 9 Platforms using Perplexity & Blotato84K
Buy me a coffee