openapi-php-sdk icon indicating copy to clipboard operation
openapi-php-sdk copied to clipboard

n8n custom node: Openapi company search

Open francescobianco opened this issue 6 months ago • 0 comments

Context

n8n is a popular open-source workflow automation platform. Several community members have asked about integrating Openapi services directly as n8n nodes, instead of going through the HTTP Request node manually.

What it would look like

A custom n8n node OpenAPICompanySearch that wraps this SDK:

// In an n8n custom node
import { IExecuteFunctions } from 'n8n-core';

export class OpenAPICompanySearch implements INodeType {
    async execute(this: IExecuteFunctions) {
        const denominazione = this.getNodeParameter('denominazione', 0) as string;
        // calls the PHP SDK via a microservice or directly via HTTP
    }
}

Alternatively, the SDK could expose a thin HTTP wrapper (e.g. a Slim or Laravel route) that n8n polls.

Open questions

  • Should the official integration be a native n8n node (TypeScript) or a PHP microservice endpoint that n8n calls?
  • Is there appetite to maintain an n8n-nodes-openapi npm package alongside this SDK?
  • Which Openapi endpoints are most requested by automation users (company search, geocoding, PEC check)?

francescobianco avatar May 08 '26 16:05 francescobianco