This repository contains a simple n8n workflow template (.json) that demonstrates how to receive and process incoming webhooks from Scalev. This serves as a basic starting point for building more complex automations.
n8n (pronounced "n-eight-n") is a powerful, source-available workflow automation tool. It enables you to connect various applications and services to automate tasks using a visual, node-based editor. It's like a free and self-hostable alternative to Zapier or Make.
This tool is perfect for developers who want to quickly integrate different APIs and services without writing boilerplate code, while still having the flexibility to add custom logic when needed.
For more details, check out the official n8n documentation.
Follow these simple steps to get the workflow up and running in your n8n instance.
Download the workflow.json file from this repository to your local machine.
- Open your n8n canvas.
- Click on the Import button in the top menu.
- Select Import from File.
- Choose the
workflow.jsonfile you just downloaded. - The workflow will now appear on your canvas. ✨
After importing, your workflow should look like this:
This workflow consists of two main nodes that work together to capture and process data.
- Purpose: This is the entry point of the automation. It generates a unique URL to listen for incoming HTTP requests.
- How it works:
- Once you activate the workflow, this node will provide a Test URL and a Production URL.
- Please save the Production URL as your webhook URL in your Scalev Account.
- When Scalev sends an event, this node will trigger the workflow and pass the received JSON data to the next node.
- Purpose: Verify the authenticity of incoming webhook requests from Scalev by validating the X-Scalev-Hmac-Sha256 header.
- How it works:
- The X-Scalev-Hmac-Sha256 header contains a signature generated by Scalev.
- To validate the header, please refer to the documentation: Verifying a Webhook Request.
- Purpose: This node is an example of how you can process the data received from the webhook.
- How it works:
- This node is meant to be customized! You can replace it or add other nodes after it to perform actions like:
- Calling another API.
- Sending a message to Slack or Discord.
- Adding a row to a Google Sheet or Airtable.
- Storing data in a database (e.g., PostgreSQL, MySQL).
- This node is meant to be customized! You can replace it or add other nodes after it to perform actions like:
