Flectra icon

Flectra

Consume Flectra API

Overview

This node integrates with the Flectra API, allowing users to perform various operations on Flectra resources such as creating, deleting, retrieving, updating items, and triggering workflow actions. It is useful for automating interactions with Flectra ERP/CRM systems, enabling seamless data management and workflow automation within n8n. For example, users can create new records, fetch existing data, update records, or trigger workflows based on specific events.

Use Case Examples

  1. Create a new customer record in Flectra when a new lead is added in another system.
  2. Retrieve all product records from Flectra to synchronize with an external inventory system.
  3. Update an existing invoice in Flectra based on payment status changes.
  4. Trigger a custom workflow in Flectra when a specific event occurs in n8n.

Output

JSON

  • id - Unique identifier of the item in Flectra
  • fields - Data fields of the item returned or affected by the operation
  • error - Error message if the operation failed and continueOnFail is enabled

Dependencies

  • Requires Flectra API credentials including URL, username, password, and database name.

Troubleshooting

  • Common issues include invalid credentials, incorrect resource or operation parameters, and network connectivity problems.
  • Error messages related to authentication failures indicate invalid credentials or incorrect database name.
  • Operation-specific errors may occur if required fields are missing or if the item ID does not exist.
  • Using continueOnFail option allows the node to continue processing other items even if one fails, capturing errors in the output.

Links

Discussion