Development tools

Create Integration With Any App: Two Methods

Daniel
No-code Expert, Latenode Ambassador
December 5, 2023
A low-code platform blending no-code simplicity with full-code power
Get started free
Table of contents

Say no to chaotic work. Automate your tasks now.

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!

There are two ways to make this happen, covering all your potential use cases. Let's start with the simpler one.

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 Discord community: https://discord.gg/HQbB2H6k4p

Method #2 JavaScript AI Integration

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

Using JavaScript for integration might seem more complex, but Latenode's AI Assistant within the JavaScript module makes it accessible for beginners.

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

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

An example of how an AI assistant writes code by itself after a short prompt.

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.

You add these directly to your code, but the AI simplifies the process, offering guidance throughout.

🐞 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.

That’s it!

Using these methods - HTTP request and JavaScript AI integration - you choose a self-service approach for any low-code integration you can imagine.

Enjoy using Latenode, and for any questions about the platform, join our Discord community of low-code experts.

Related articles:

Related Blogs