Simple Integration Example
Connecting two API endpoints together
Last updated
Connecting two API endpoints together
Last updated
In this video, we demonstrate how to build a simple integration using Laminar. We show you how to get data from a source, transform it, and send it to a destination.
API | URL |
---|---|
Source | |
Destination |
To build a basic integration workflow using Laminar to get data from a source, transform it, and send it to a destination.
Setting Up Workspace:
Sign up for Laminar and create a workspace.
Creating Auth Credentials:
Create an Auth Credential for no authentication needed.
Create an Auth Credential with a bearer token for authentication to our Destination.
Defining API Endpoints:
Define the source endpoint for data retrieval.
Define the destination endpoint for data transfer.
Creating a Workflow:
Create a new workflow for getting and transforming data.
Creating a Flow:
Add a flow within the workflow to specify source and destination.
Executing the Workflow:
Run the workflow to see the data transformation and destination response.
Transforming Data with JQ:
Use JQ to transform data within the flow.
Transform data to meet specific requirements (e.g., counting users, calculating averages).
Executing Workflow via API Key:
Use an API key to execute the workflow externally.
Monitor the execution and response of the workflow.
Ensure correct API endpoints and credentials are used.
Double-check data transformations to avoid errors.
Monitor the workflow execution for any issues.
Use descriptive names for API endpoints and credentials.
Test the workflow execution with sample data before full implementation.
Document any changes made to the workflow for future reference.
We transformed our JSON using this JQ: