Connector Types & Setup
Connectors are used to seamlessly integrate data from various data sources and APIs into your created flows.
Connectors in Fastn
Connectors in the Fastn platform enable you to integrate and interact with external systems such as APIs, databases, or custom logic. They act as bridges that bring external data into your flows or send processed data out.
Using Connectors
Connectors are components that simplify the process of integrating third-party services. Once added to a flow, they can perform operations like fetching data, transforming it, or saving it to an external system. Each connector includes input and output schemas to ensure data consistency throughout your flow.
Types of Connectors
In Fastn, connectors let your flows interact with external apps, APIs, and data sources. They act as bridges between Fastn and the outside world, enabling powerful automations across tools and services.
Fastn supports three main types of connectors:
i. Community Connectors
These are prebuilt, ready-to-use connectors that let you integrate popular apps like Slack, Google Docs, Notion, Salesforce, HubSpot, and many more; with 140+ supported apps and counting.
Community connectors make it easy to connect to tools your team already uses, so you can trigger flows, pull in data, or take actions in those apps without writing any custom code.
Example: Using a Google Doc and Slack Connector
To create a Google Doc and send it to a specific Slack channel, utilize the Google Docs Connector with Create Doc Endpoint to generate your document and then use the Slack Connector with Send Message Endpoint to send it directly to your selected channel. This process requires no coding, streamlining document sharing within your workflows.

ii. Workspace Connectors
Workspace connectors let you create custom connector groups tailored to your project. Each group can contain multiple individual connectors of different types — Function, HTTP API, gRPC, or Database — giving you full control over how your flows interact with external services.
You can also use the Build with AI button to leverage AI to assist in creating custom connector groups. Provide a description of the service you want to connect to, and Fastn generates the connector group structure for you.

Before you begin
You have an active Fastn workspace.
You have the necessary permissions to manage connectors in the workspace.
If connecting to an external service, you have the service's API credentials or OAuth configuration details ready.
Step 1: Create a connector group
A connector group acts as a container for related connectors — for example, a "Payment Service" group might hold connectors for creating charges, listing invoices, and issuing refunds.
Navigate to Connectors in your workspace.
Click the Add Connector button in the top right corner.
Fill in the connector group details:

Name
Yes
A unique name for the connector group (e.g., "Stripe" or "Internal Billing API").
Image URL
No
A URL to an icon or logo that visually represents the connector group.
Description
No
A brief summary of the group's purpose and the services it connects to.
Documentation Link
No
A link to external documentation for the underlying API or service.
Resource Type
Yes
Select EXTERNAL for third-party services or INTERNAL for services hosted within your own infrastructure.
Enable Activation
No
Toggle this on to require authentication when connecting. Enabling this reveals authentication configuration options.
Click Save to create the group.
Enable Activation if the service requires credentials. This reveals authentication options including OAuth, Basic Auth, API Key, Bearer Token, and Custom Input. See Setting up connector authentication for detailed configuration steps.
Step 2: Add individual connectors to the group
After creating a connector group, add individual connectors that represent specific actions or endpoints.
Open the connector group you created.
Click the Add button in the top right corner.
Select Add Custom Action.
Choose one of the four connector types:

Function connector
Use a Function connector to define custom logic with code. This is ideal for data transformations, calculations, or any operation that does not require an external API call.
Enter a name for the connector.
Write your function code in the editor.
Define the input and output schemas. You can switch between Form, JSON, and YAML views.
Use the Test section to validate your function with sample input before saving.
Click Create to add the connector.
After creation, you can edit or preview your function from the connectors list in your workspace.
HTTP API connector
Use an HTTP API connector to integrate with RESTful APIs over standard HTTP/HTTPS.
Enter a name for the connector.
Provide the HTTP URL for the API endpoint.
Add JavaScript code to define the request logic — headers, request body, and response handling.
Define input and output schemas.
Test the API call to verify the response.
Click Create to add the connector.

gRPC connector
Use a gRPC connector to communicate with services that expose APIs over gRPC instead of HTTP. This is useful for high-performance, low-latency service-to-service communication.
Enter a name for the connector.
Configure the gRPC service endpoint and method details.
Define input and output schemas matching your protobuf definitions.
Click Create to add the connector.

Database connector
Use a Database connector to integrate directly with PostgreSQL, Redshift, or MySQL databases.
Enter a name for the connector.
Select the database type (PostgreSQL, Redshift, or MySQL).
Provide the connection details (host, port, database name, credentials).
Define your query or operation.
Click Create to add the connector.

Step 3: Configure authentication (optional)
If your connector group has Enable Activation turned on, configure the authentication method that matches your external service.
Fastn supports five authentication types:
OAuth
The service supports an OAuth login screen (e.g., Google, Microsoft, Slack).
Basic Auth
The service requires a username and password.
API Key
The service authenticates via an API key in headers or query parameters.
Bearer Token
The service requires a bearer token in the Authorization header.
Custom Input
The service requires custom credential fields (e.g., API key + secret key with expiry).
For detailed setup instructions for each type, see Setting up connector authentication.
Step 4: Test and verify
Before using your connector in a flow:
Open the connector from the group list.
Use the Test section (available for Function and HTTP API types) to run the connector with sample input.
Verify the output matches your expectations.
If the connector requires authentication, confirm that the connection succeeds with valid credentials.
Step 5: Manage connectors
Once your connector group is set up, you can manage individual connectors and share them across your workspace.

Export and import connectors
You can export connectors from one workspace and import them into another. You can also download the corresponding OpenAPI file for your connector group.

To access these options, click the menu icon on the connector group and select:
Export — download the connector configuration as a file.
Import — upload a previously exported connector configuration.
Download OpenAPI File — generate and download the OpenAPI specification for the connector group.
Using workspace connectors in flows
After creating your workspace connectors, use them in flows like any other connector:
Open the flow editor and add a connector step.
Select Custom Connector as the group type.
Select your workspace connector group and the specific endpoint.
Configure the connection (fixed or dynamic) and fill in the required parameters.
For more details on adding connectors to flows, see Managing & using connectors.
iii. Organization Connectors
These connectors can be defined at the organization level, allowing any member within the organization to access and utilize the connections provided. This allows for streamlined organization and application of connections across various parts of the organization.

Similar to Workspace connectors, you can define group connectors and then manage different categories of connectors within them.
Last updated
Was this helpful?

