Connectors
Overview
Connectors are used to seamlessly integrate data from various data sources and APIs into your created flows.
These can be custom in-house data sources or third-party APIs.
An example is a Shopify connector which can be used to interact with multiple Shopify APIs like getAllProducts
and createProduct
.
Sample flow using a Shopify connector to get data
Connector Types
The fastn platform has three different types of connectors available Function, HTTP API and Database.
Function Connector
These allow users to define a function for data processing as well as input and output schema to be utilized in flows.
Function Connector Setup Page
HTTP API Connector
This connector enables you to integrate data from external sources that expose their data through HTTP-based APIs. It facilitates communication with web services, allowing you allowing you to retrieve and manipulate data on remote servers.
HTTP API Connector Setup Page
Database Connector
A database connector facilitates the integration of external databases. It allows users to connect and send queries in order to use in or create data from their flows.
Database Connector Setup Page
Connector Management
Connectors are organized into three main categories.
-
"My Connectors" - Connectors created by users available to all other users within a project.
-
"Organization Connectors" - Users with access to an organization can create and share connectors with the other projects within the same organization.
-
"fastn Connectors" - These are community connectors available to all users across different projects.
Using fastn Connectors in Flows
fastn has a wide variety of connectors available linked to different third-party services including Shopify, Algolia, and more.
-
Drag and drop a connector from the flow elements into the flow.
-
Select fastn connectors.
-
Select a connector, for example Shopify.
-
Select an API.
-
Setup required parameters and auth info.
-
Save connector.
Activating a connector
-
Certain connectors require activation. Activation means that connectors to third-party APIs are authenticated and have the necessary secrets imported in the project in order to allow using the connectors in a flow.
-
Here we see an example of the Microsoft Graph connector which is found under fastn Connectors.
-
We can click on the
Activate
button. -
Were it will trigger
Microsoft Graph
authentication.
- After authenticating if we import the connector in a flow. We can see its status as Connected and ready to use.
Creating a Custom Connector under My Connectors
-
Click on connectors on the left side menu and then navigate to
My Connectors
. -
Click on create new connector.
-
Select the type of connector you want to create for example a function connector.
-
Write the function and save to complete setup.
-
Your created connector will now be available under
My Connectors
to add to any flow within the project.