Skip to content

n8n

The Comers node for n8n lets you build workflows that react to events from Comers without manually configuring webhooks.

The package is published as:

@comers/n8n-nodes-comers

The package includes Comers Trigger for receiving events and Comers API for configuring the connection to Comers.

flowchart TD
    C[Comers Event] --> T[Comers Trigger]
    T --> N[n8n workflow]
    N --> A[Another n8n node]
    A --> X[External application]

In an n8n installation that allows community nodes:

  1. open Settings → Community nodes,
  2. choose to install a community node,
  3. enter @comers/n8n-nodes-comers.

Availability of community nodes can depend on how your n8n environment is hosted and administered.

To let n8n connect to Comers, create an appropriate integration for n8n.

Comers provides the details needed to configure the connection and manage event subscriptions.

Then create a Comers API credential in n8n and enter:

  • the public address of your Comers installation,
  • client ID,
  • client secret.

The client secret is confidential.

Store it only in the n8n credential and do not place it in code, documentation, or ordinary notes.

Add Comers Trigger to the workflow and select the Comers API credential.

Comers Trigger retrieves the current list of supported events directly from Comers.

This allows new event types to appear in n8n without updating a fixed list inside the node.

Choose the events that should start the workflow.

It is worth selecting only the events the workflow actually needs.

This keeps the automation simpler and avoids unnecessary n8n executions.

The exact list depends on the catalog exposed by your Comers installation.

After you publish the n8n workflow, the node automatically creates or updates the corresponding event subscription in Comers.

When the workflow is disabled or removed, the node withdraws the linked subscription.

This means you do not have to manually copy the webhook URL into Comers or remember to remove an unused subscription later.

flowchart TD
    D[Build workflow] --> E[Choose Comers events]
    E --> P[Publish workflow]
    P --> S[Active subscription in Comers]
    S --> R[Verified event starts workflow]
    R --> U{Workflow disabled or removed?}
    U -->|No| S
    U -->|Yes| A[Subscription withdrawn]

While testing a workflow, the n8n node can create a separate temporary event subscription.

It is independent from the subscription used by the published workflow, so testing does not disrupt the production version.

Comers Trigger verifies the signature of the delivered event before starting the workflow.

This means you do not need to build separate signature-verification logic in every n8n workflow.

If Comers Trigger starts the workflow, the event has passed verification by the node.

This does not mean that all later workflow steps will necessarily succeed.

The same event can reach a workflow more than once.

If running the same action twice could cause problems, use the event identifier to recognize duplicates.

Do not use the delivery-attempt number as the identifier of the business event.

Comers Trigger passes event data to the workflow together with information needed to handle it.

The data structure can differ between event types and can evolve with event versions.

Later workflow steps should therefore use only the fields required by the particular event type.

n8n is a good choice when you want to:

  • connect Comers with applications already available in n8n,
  • transform or enrich data,
  • route different events to different processes,
  • build custom automations without creating a separate integration in Comers,
  • quickly prepare an integration process tailored to the company.

See Events & webhooks for the underlying model.