← All N8N workflows
AI & researchCodeHTTP RequestIfKey Value StorageMerge

receive schedule events and get auth token and get latest requests

Configured with HTTP Request, Key Value Storage, Schedule Trigger. Review the connections and setup before adapting this template.

Workflow preview
TriggerSchedule TriggerSchedule TriggerWeb / APIGet Auth TokenHTTP RequestCodeUnprocessed RequestsCodeWeb / APIGet Latest RequestsHTTP RequestWeb / APIPOST to n8nHTTP RequestTransformMergeMergeTransformLocal Webhook AddressEdit FieldsCodeLatest Update TimeCodeData storeStore Auth TokenKey Value StorageData storeStore Last ProcessedKey Value StorageData storeRetrieve Auth TokenKey Value StorageData storeRetrieve Last ProcessedKey Value StorageRoutingIf Auth Token ExistsIf

Node categories in this workflow

  • Trigger
  • Web / API
  • Code
  • Transform
  • Data store
  • Routing

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Schedule TriggerTriggerSchedule TriggerSee node parameters
Get Auth TokenWeb / APIHTTP RequestPOST
Unprocessed RequestsCodeCodeSee node parameters
Get Latest RequestsWeb / APIHTTP RequestSee node parameters
POST to n8nWeb / APIHTTP RequestPOST
MergeTransformMergeSee node parameters
Local Webhook AddressTransformEdit FieldsSee node parameters
Latest Update TimeCodeCodeSee node parameters
Store Auth TokenData storeKey Value StorageSee node parameters
Store Last ProcessedData storeKey Value StorageSee node parameters
Retrieve Auth TokenData storeKey Value Storageread
Retrieve Last ProcessedData storeKey Value Storageread
If Auth Token ExistsRoutingIfSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

None declared. HTTP requests and Code nodes may still need configuration.

Workflow notes

Public Webhook Relay

Public Webhook Relay

How it Works

Utilizes webhook.site to receive public webhook requests and relays them to your local n8n workflow

How to Use

  • To use with local key-value store: Go to settings > community nodes and enter @horka.tv/n8n-nodes-storage-kv to install the key-value store node
  • To use with a different storage method: Replace the four key-value nodes with a temporary storage option of your choice (Airtable, Notion, Firebase, etc). This is required to save data between runs.
  • Set Schedule Trigger with a polling interval (default is every 10 seconds).
  • Set your local workflow address in Local Webhook Address.

How to Test

  • Set the workflow to Active.
  • After workflow executes at least once, you can check the input to Get Latest Requests for your auth token.
  • Run this command: curl -X POST -H "Content-Type: application/json" -d '{"foo":"bar"}' https://webhook.site/[THE AUTH TOKEN YOU JUST GOT]
  • Now check Executions and confirm that the workflow ran all the way to the end. Confirm in Unprocessed Requests that your data was retrieved (data[0].content should be equal to {"foo":"bar"})
  • Now check your other local workflow and confirm that it was triggered with the correct data packet {"foo":"bar"}.
  • You're done!

Caveats

At present, the relay expects a POST with form/json data. If you wish to relay raw data or GET requests, please alter the Unprocessed Requests and POST to n8n nodes accordingly.

receive schedule events and get auth token and get latest requests

receive schedule events and get auth token and get latest requests

Purpose and structure

This folder contains the receive schedule events and get auth token and get latest requests workflow. Its executable nodes use code, httpRequest, if, keyValueStorage, merge, scheduleTrigger, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Schedule Trigger

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Http/0588_HTTP_Schedule_Create_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • 1. Retrieve existing or get new auth token for webhook.site
  • 2. Check if any new requests to webhook that came later than the last checked request
  • 3. Relay the request to the local n8n workflow set in *Local Webhook Address*
  • 0. Set this to your local workflow address (Production URL or Test URL in your Workflow Trigger node)

More in AI & research