Overview
This node triggers a Lamatic workflow by sending a GraphQL request to the Lamatic API. It allows users to execute a specific Lamatic workflow identified by its ID and pass input data in JSON format to that workflow. This is useful for integrating Lamatic automation workflows into n8n, enabling seamless orchestration of tasks across systems.
Common scenarios include:
- Automating business processes managed in Lamatic from within an n8n workflow.
- Passing dynamic data from n8n to Lamatic workflows for processing.
- Triggering Lamatic workflows conditionally based on events or data transformations in n8n.
Example: You have a Lamatic workflow that processes customer orders. Using this node, you can trigger that workflow with order details collected or transformed in n8n.
Properties
| Name | Meaning |
|---|---|
| Lamatic Workflow ID | The unique identifier of the Lamatic workflow to execute. |
| Workflow Input (JSON) | JSON-formatted input data to send as payload to the Lamatic workflow. |
Output
The node outputs a JSON object containing the response from the Lamatic API after executing the workflow. The structure includes:
status: The status of the workflow execution (e.g., success or failure).result: The result data returned by the executed Lamatic workflow.
The output is provided as an array of JSON objects, each representing the execution response.
No binary data output is produced by this node.
Dependencies
- Requires an active Lamatic project URL and API key configured as credentials in n8n.
- Uses HTTP POST requests with GraphQL queries to communicate with the Lamatic API.
- The node expects valid JSON input for the workflow payload.
Troubleshooting
- Invalid Workflow ID: If the workflow ID is empty or invalid, the node throws an error indicating the issue. Ensure the workflow ID is correctly specified.
- Invalid Workflow Input: If the input JSON is empty or malformed, an error is thrown. Validate the JSON syntax before running.
- Credential Errors: Missing or incorrect Lamatic project URL or API key will cause errors. Verify credentials are properly set up.
- API Errors: If the Lamatic API returns errors, the first error message is surfaced. Check the Lamatic workflow configuration and API limits.
- JSON Parsing Errors: Malformed JSON input will cause parsing failures. Use proper JSON formatting.