Quick Start Guide
Build a working flow in under 10 minutes. No prior Fastn experience required.
In this quick start guide, you'll create a flow that listens for an incoming API request and sends a message to a Slack channel. By the end you will have a live, working automation running on Fastn.
What you'll learn
How to create a flow with an API request trigger
How to add and configure your first connector step
How to map incoming data to outgoing fields
How to test and deploy your flow
Estimated time: 10 minutes
Prerequisites
A Fastn account, sign up at fastn.ai if you do not have one
A Slack workspace where you can post messages (and permission to install apps)
Step 1: Create a new flow
Click Flows in the left-hand menu.
Click + Create Flows in the top-right corner.
Your new flow opens with a New API Request trigger already in place (labeled "Real Time").
Give your flow a descriptive name, such as
slacknotification.

Step 2: Add a Slack connector
Click the + button below the trigger step on the canvas.
You see five tabs: Trigger, Connection, AI, Transformation, Control.
Click the Connection tab.
Click Connector.
Search for Slack and select it.
Ensure that you have authorized Slack for
Choose the sendMessage action.

Step 3: Connect your Slack account
In the Slack connector step, click Connect.
A Slack authorization window opens. Select the workspace you want to connect.
Review the permissions and click Allow.
Once connected, your Slack account appears in the connector step.
Additionally, you will see a new Slack app pop up in your workspace as shown below:

Note: Fastn manages OAuth tokens securely. Your application never sees raw Slack credentials.
Step 4: Configure the Slack message
In the Slack connector step, fill in the required fields:
channel ID
The Slack channel to post to, such as #general.
text
The message body (you map this from the API request data in the next step)
For the
channelfield, enter the name or ID of your target Slack channel which you can access from the your Slack channel details.

Step 5: Map request data to the Slack message
This is where the flow connects input to output. You map data from the incoming API request to the Slack message text.
Click the
textfield in the Slack connector configuration.Use the data mapper to reference the incoming request. For example:
This maps the
messagefield from the incoming API request payload into the Slack message text.

Step 6: Test your flow
Click the Test button in the top-right corner of the flow builder.
Enter test input in JSON format:
Click Run.
Check your Slack channel — the message "New request received: Hello from my first Fastn flow!" should appear.

If the test fails, check that your Slack account is connected and that the channel name is correct. The test console displays error details for each step.
Step 7: Deploy your flow
Click the Deploy button in the top-right corner.
Confirm the deployment.
Your flow status changes to Live.
Your flow is now live and callable via API. You can find your API key in Settings → API Keys and include it as the x-fastn-api-key header in production requests.

Troubleshooting
Slack message does not appear
Check that your Slack account is connected and the channel name is correct
Test returns an error
Check the error details in the test console. Most common cause is a misconfigured field
Flow shows "Changes Pending"
You have unsaved changes. Click Save, then Deploy again
API request returns 401
Include the x-fastn-api-key header with a valid API key. Generate one in Settings → API Keys
Last updated
Was this helpful?

