# Create a node from a OpenAPI json file

**URL:** <https://community.n8n.io/t/create-a-node-from-a-openapi-json-file/28050>\
**Category:** Feature Requests\
**Created:** [July 12, 2023, 11:24am UTC](https://community.n8n.io/t/create-a-node-from-a-openapi-json-file/28050 "2023-07-12T11:24:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RedPacketSec](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/redpacketsec/32/17523_2.png) [@RedPacketSec](https://community.n8n.io/u/RedPacketSec)\
**Post date:** [July 12, 2023, 11:24am UTC](https://community.n8n.io/t/create-a-node-from-a-openapi-json-file/28050/1 "2023-07-12T11:24:35Z")

</div>

Many services offer OpenAPI v3 or Postman Collection export of the API capabilities.

Would be nice if we can just import an OpenAPI v3 JSON file and have that as a working custom node.

---

<div class="post-metadata">

**Author:** ![cmndlrd](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@cmndlrd](https://community.n8n.io/u/cmndlrd)\
**Post date:** [February 3, 2024, 2:55pm UTC](https://community.n8n.io/t/create-a-node-from-a-openapi-json-file/28050/2 "2024-02-03T14:55:50Z")

</div>

I think this is an duplicate to:

> [@Swagger/postman codegen](http://community.n8n.io/t/swagger-postman-codegen/387):
>
> OK, it might be an urge work, but it would be really great to have a code generator to create custom nodes from a swagger file or a postman collection (like in Microsoft flow)

---

<div class="post-metadata">

**Author:** ![Loreto\_Parisi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/loreto_parisi/32/41244_2.png) [@Loreto\_Parisi](https://community.n8n.io/u/Loreto_Parisi)\
**Post date:** [June 27, 2024, 2:46pm UTC](https://community.n8n.io/t/create-a-node-from-a-openapi-json-file/28050/3 "2024-06-27T14:46:41Z")

</div>

Also duplicate of

> [@Building a custom node using an Open API spec](http://community.n8n.io/t/building-a-custom-node-using-an-open-api-spec/20628):
>
> Hello Everyone, This is my first attempt to play around with the n8n, explicitly referring to creating a custom node. Is it possible to use an open API specification ( formerly swagger ) to implement the resource and operation parameters for the NodeType interface? Thank you!

---

<div class="post-metadata">

**Author:** ![devlikeapro](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/devlikeapro/32/44976_2.png) [@devlikeapro](https://community.n8n.io/u/devlikeapro)\
**Post date:** [September 22, 2024, 8:16am UTC](https://community.n8n.io/t/create-a-node-from-a-openapi-json-file/28050/4 "2024-09-22T08:16:26Z")

</div>

Hi!  
Having built-in mechanisms for parsing and creating nodes from OpenAPI would be awesome improvements for n8n, agree 👍

While we’re waiting we created [n8n-openapi-node](https://github.com/devlikeapro/n8n-openapi-node) - the lib allows you to turn OpenAPI to n8n node pretty quickly.

We also have few real-world examples where we used the lib to generate n8n community node from OpenAPI: [GitHub - devlikeapro/n8n-openapi-node: Turn Your OpenAPI (Swagger) spec into a n8n node! · GitHub](https://github.com/devlikeapro/n8n-openapi-node?tab=readme-ov-file#use-cases)

Here’s **ChatWoot** node we got from their official OpenAPI spec:

 ![chatwoot](https://europe1.discourse-cdn.com/n8n/original/3X/f/c/fca86dc245007a750c5dad1f7b68183452b09f65.png)
