Development tools
Daniel
No-code Expert, Latenode Ambassador
December 5, 2023
A low-code platform blending no-code simplicity with full-code power 🚀
Get started free
December 5, 2023
5
min read

Create Integration With Any App: Two Methods

Daniel
No-code Expert, Latenode Ambassador
Table of contents

While other low-code automation platforms take pride in having thousands of pre-built integrations, Latenode stands out by offering an environment where users can create new integrations with any desired application in just minutes, completely from scratch!

Method #1 HTTP request

Optimize your Business Process on Latenode – the best automation platform for you

If you're looking to connect with an app that provides API documentation, focus on the cURL examples given.

Each API endpoint in your application demands a specific communication method, and the cURL example offers a template to execute the desired functionality.

For instance, let's suppose you want to create a new Trello card and consider the Trello documentation. Your steps?

  1. Identify the action you need, like “Create a new Card.”
  2. Find and copy the cURL example showing how to communicate with this Trello endpoint.
  3. Note the required parameters for this API request. For instance, creating Trello cards requires knowing where to place the card, so the “idList” parameter is essential.
Screenshot of an API documentation interface highlighting instructions on how to create a new card. The top left corner features a REST API menu with 'POST Create a new Card' highlighted in red. To the right, there's a cURL command example with the request URL highlighted. Number 1 on the image has an arrow pointing to the card creation option, number 2 has an arrow pointing to the cURL command, and number 3 points to the 'idList' query parameter, marked as required

After these steps, let's return to Latenode, where you simply:

  1. Add an HTTP request node to your scenario.
  2. Click on “Create from example” and paste your cURL.
  3. Replace the API Key, API Token, or other authorization details your service needs. Ask ChatGPT where to find these in your app.
The process of creating an integration using curl

Often, this is enough to build a new API integration from scratch in two minutes! 🎉

For our Trello case, manually set the required parameter idList to inform Trello where to create the new card. Additionally, define the card's name and description, using data from your Latenode scenario as shown on the screenshot below.

Screenshot of an API interface displaying a form submission section. The 'Body' tab shows 'form-data' selected with 'Key' and 'Value' fields. The 'idList' key is highlighted, containing a unique identifier, followed by 'name' and 'desc' fields with sample data entries. An arrow points to the 'idList' field

Now you know how to build an integration with any app using an HTTP request on Latenode.

If you have questions, feel free to ask in our community

Method #2 AI Node + JavaScript

Write the code even if you are begginer with Latenode's AI Assistent

This method is even easier – you can use our Ask AI feature to create nearly any integration you need or use the JavaScript node, which can generate code on demand.

AI Node – Generating Nodes Based on Simple Requests

Just describe your task, and the AI will generate the necessary code, including fields and authorization settings

For example, if you need a node to retrieve comments from specific subreddits, the AI can handle it by creating fields, authentication, and functional code without requiring a single line of manual coding.

Remember, AI knowledge isn’t perfect. If it fails to produce working code, refer to the service’s documentation (as outlined above in the HTTP request section) and feed an example back to our AI assistant. This approach almost always guarantees a successful result.

The generated node features Latenode’s standard JavaScript module interface, complete with a built-in IDE, variables, and data from previous nodes for easy integration.

Now, let’s dive into this next part.

Using the JavaScript Node for Custom Integrations

The JavaScript node functions similarly to the AI assistant, allowing you to create any custom node you need. Here’s an example:

To create a new Trello card using AI, ask our assistant:

– Add Script to my code that will create an API integration with Trello – "Create a new Card"

You’ll receive a ready-made node with all the fields you need!

The remaining steps are similar to the HTTP method:

  1. Enter your API Key and API Token.
  2. Add the idList of your Trello board.
  3. Specify the Trello card name and description.

Alternatively, you can manually input these values if you find it more convenient.

🐞 Encounter a JavaScript error? Don't worry! The AI will help you fix your code once you send the error back to the chat.

A pop-up window displaying JavaScript node errors, suggesting issues within the code block. The window's header reads 'SEND ERRORS BACK TO AI' in red letters. Inside the window, there's a JavaScript icon with an exclamation mark and a label '5'. Below is an error message: TypeError, indicating that 'store.set' is not a function at the specified file and line of code

You don't even have to explain what you need; sending a raw error will be enough to get new code:

An example of how one can simply copy and paste the error code into a chat with an AI assistant and it will correct it by itself.

And that's it! If you couldn’t find the integration you need or don’t want to handle it yourself, you can always order accelerated app development from us or submit a request for a new integration on our Roadmap.

Have questions or suggestions? Join our friendly community, where you'll find help and answers to all your questions – Latenode Community.

Create unlimited integrations with branching, multiple triggers coming into one node, use low-code or write your own code with AI Copilot.

Related articles:

Related Blogs

Use case

Backed by