> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-context7-agent-09df3c1c-9c05-4093-9d6e-e4e2644ee98c-1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# n8n with QStash

Leverage your n8n workflow with Upstash Qstash, here is how you can make those requests using HTTP Request node.

### Step 1: Set Up an n8n Project

1. Go to [https://n8n.io](https://n8n.io) and create a new project
2. Create a Trigger as Webhook with default settings, this will be our entry point.
3. Create a HTTP Request Node
   <img src="https://mintcdn.com/upstash-context7-agent-09df3c1c-9c05-4093-9d6e-e4e2644ee98c-1/vRsrFntXeAwXpF8f/img/n8n/qstash-http.png?fit=max&auto=format&n=vRsrFntXeAwXpF8f&q=85&s=b9a3bc237c8c33d9ecb994f715aa5da2" alt="n8n with QStash: QStash http" width="1940" height="1106" data-path="img/n8n/qstash-http.png" />

***

### Step 2: Import QStash Configurations to HTTP Node

1. Go to Upstash Console and open QStash Request Builder Tab.
2. Fill out the fields to create an QStash Request. (Publish, Enqueue, Schedule)
   <img src="https://mintcdn.com/upstash-context7-agent-09df3c1c-9c05-4093-9d6e-e4e2644ee98c-1/vRsrFntXeAwXpF8f/img/n8n/qstash-request-builder.png?fit=max&auto=format&n=vRsrFntXeAwXpF8f&q=85&s=831cb8338e19b8953a308eab8e78c659" alt="n8n with QStash: QStash request builder" width="1940" height="1186" data-path="img/n8n/qstash-request-builder.png" />
3. Copy the cURL snippet created for you, representing your request.
   <img src="https://mintcdn.com/upstash-context7-agent-09df3c1c-9c05-4093-9d6e-e4e2644ee98c-1/vRsrFntXeAwXpF8f/img/n8n/qstash-curl.png?fit=max&auto=format&n=vRsrFntXeAwXpF8f&q=85&s=e2a97b0c0abdc572dd9344b1a98950fe" alt="n8n with QStash: QStash curl" width="1940" height="1184" data-path="img/n8n/qstash-curl.png" />
4. Back to the n8n, in HTTP Request Parameters tab, use import cURL.
   <img src="https://mintcdn.com/upstash-context7-agent-09df3c1c-9c05-4093-9d6e-e4e2644ee98c-1/vRsrFntXeAwXpF8f/img/n8n/qstash-import-button.png?fit=max&auto=format&n=vRsrFntXeAwXpF8f&q=85&s=4a6e177c7af5736a6ce855d4db6d99a9" alt="n8n with QStash: QStash import button" width="1940" height="1182" data-path="img/n8n/qstash-import-button.png" />
5. Paste the cURL snippet that you copied in the console, and let n8n to fill out the form for you.
   <img src="https://mintcdn.com/upstash-context7-agent-09df3c1c-9c05-4093-9d6e-e4e2644ee98c-1/vRsrFntXeAwXpF8f/img/n8n/qstash-import.png?fit=max&auto=format&n=vRsrFntXeAwXpF8f&q=85&s=c17204440db05b645f3fb630bbf4b961" alt="n8n with QStash: QStash import" width="1940" height="1090" data-path="img/n8n/qstash-import.png" />

***

### Step 3: Test the Workflow

1. Execute workflow.
2. Visit the Webhook URL.
3. That's it! You can check the logs in the Qstash Console to confirm your QStash Request is working.
   <img src="https://mintcdn.com/upstash-context7-agent-09df3c1c-9c05-4093-9d6e-e4e2644ee98c-1/vRsrFntXeAwXpF8f/img/n8n/qstash-logs.png?fit=max&auto=format&n=vRsrFntXeAwXpF8f&q=85&s=dd2d7bcf5ee4eff9e3c40fe1d2096275" alt="n8n with QStash: QStash logs" width="1940" height="1078" data-path="img/n8n/qstash-logs.png" />
