DEV Community

Cover image for Create Integration With Any App: Two Methods
Oleg
Oleg

Posted on

Create Integration With Any App: Two Methods

Hello DEV community! 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

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. Image description

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. Image description

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.
Image description

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.

Method #2 JavaScript AI Integration

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"

Image description

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.
Image description

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

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

Image description

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.

Top comments (0)