Recipe: How to Integrate LFS Workflow with Any System in 15 Minutes via n8n

One of the key advantages of LFS Workflow is its openness. We don't build a closed ecosystem. Instead, we provide tools that allow you to easily integrate our reliable process core with any external service your business needs. Today, we'll show you how, using the optional n8n module, you can set up an integration in minutes without writing a single line of server-side code.
Task: Automatically create a task in LFS Workflow upon receiving a new email in Gmail
This is a classic task: the sales department receives a request at a special address, and an internal process for handling it needs to be launched instantly. Manually checking email is slow and unreliable.
Step 1: Create a Webhook Trigger in LFS Workflow
Our platform has built-in support for launching processes via API. But for rapid integration, we will use n8n to act as a bridge.
Step 2: Build the Workflow in n8n (5 minutes)
Open your n8n editor and create a new workflow with three nodes:
- Trigger: `Gmail`
- Connect your Google account.
- Configure the trigger to fire on a new email with a specific label (e.g., 'New Lead').
- Intermediate Node: `Set`
- Create a JSON object here with the data you want to pass to LFS Workflow. For example, extract the email subject and body using expressions: `{{ $json.subject }}` and `{{ $json.html }}`.
- Action: `HTTP Request`
- URL: Specify your LFS Workflow API URL for creating a new process.
- Method: `POST`.
- Body Content Type: `JSON`.
- Body: Pass the data from the previous `Set` node.
Step 3: Activate!
Activate your workflow in n8n. That's it. Now, every new email that arrives in your inbox will automatically create a new task in your BPM system with all the necessary information. Implementation time — 15 minutes.
Why is this approach so powerful?
This simple example demonstrates the LFS Workflow philosophy: we provide a stable, secure core for executing your critical internal processes, and for fast, flexible integration with the outside world, you can use best-in-class low-code tools. You get the reliability of an enterprise solution and the speed of a startup at the same time.
Turn Theory into Practice
Learn how LFS Workflow can solve your specific business challenges. Request a free demo and get a personal consultation.
Request a Demo