Docs
API Node

API Node Documentation

The Lamatic.ai API Node enables users to integrate external REST APIs effortlessly into their workflows. api.png

Features

Key Functionalities
  1. Custom Logic Integration: Seamlessly incorporate JavaScript code to create tailored workflows.

  2. Data Manipulation: Process and transform large datasets dynamically within your flows.

  3. Third-Party API Support: Extend your workflows by connecting to external APIs and services.

  4. Dynamic Report Generation: Automate the creation of insightful reports based on real-time data.

  5. Testing and Deployment Tools: Easily test and deploy JavaScript logic directly in the Lamatic platform.

Benefits
  1. Enhanced Flow Customization: Tailor flows to meet specific business or operational needs.

  2. Streamlined Automation: Minimize manual intervention with robust, automated processes.

  3. Improved Efficiency: Optimize workflows by integrating complex operations directly into your flows.

  4. Reduced Development Overhead: Empower developers to build and deploy custom logic without external systems.

  5. Scalable Design: Create reusable logic components that adapt to various use cases and scale with your needs.

What Can You Build?

  1. Automated Data Processing Workflows: Handle large datasets within the Lamatic platform effortlessly by automating repetitive tasks and calculations.
  2. Custom Notification Systems: Send alerts based on specific criteria or data changes, ensuring timely communication.
  3. Third-Party API Integration: Extend the functionality of existing Lamatic flows by incorporating external APIs.
  4. Dynamic Report Generation: Compile and present data insights automatically for real-time analysis and decision-making.

Setup

Select the API Node

  1. Fill in the required parameters.
  2. Build the desired flow
  3. Deploy the Project
  4. Click Setup on the workflow editor to get the automatically generated instruction and add it in your application.

Configuration Reference

ParameterDescriptionRequiredExample Value
Endpoint URLSpecify the URL of the API endpoint that this node will connect to for sending or receiving data.Yeshttps://api.github.com/users (opens in a new tab)
MethodAPI Request Method (Get/Post)YesGet
BodyBody ParametersYes
HeadersAPI HeadersNo[]
Number of RetriesSet the number of retry attempts if the API request fails.No0
Delay between retry (sec)Specify the wait time in seconds between each retry.No0

Low-Code Example

nodes:
nodes:
  - nodeId: apiNode_601
    nodeType: apiNode
    nodeName: API
    values:
      url: https://api.github.com/users
      method: GET
      headers: ''
      body: '{}'
      retries: '0'
      retry_deplay: '0'
    needs:
      - triggerNode_1
  - nodeId: plus-node-addNode_259786
    nodeType: addNode
    nodeName: ''
    values: {}
    needs:
      - apiNode_601

Troubleshooting

Common Issues

ProblemSolution
Invalid APIEnsure the API is correct.
Dynamic Content Not LoadedIncrease the Wait for Page Load time in the configuration.

Debugging

  1. Check Lamatic Flow logs for error details.
  2. Verify API Key.

Was this page useful?

Questions? We're here to help

Subscribe to updates