The Outgoing Webhook step allows your workflow to send data from Streamline to an external system using an HTTP request. This step is ideal for triggering actions in another system, sending form data or files, or integrating Streamline with internal APIs, CRMs, and other services.
With the Outgoing Webhook step, you control:
- Where the request is sent (endpoint URL)
- How it is sent (HTTP method, authentication, headers)
- What information is included (body content, parameters, files)
- Whether you want to test and preview the response before publishing the workflow
- Whether the workflow should programmatically direct users to subsequent destinations
This step can be used together with a Webhook Integration for authenticated requests or with public endpoints.
Common Use Cases
Use the Outgoing Webhook step when you want to:
- Notify another system when a Form or Document step completes
- Create or update a record in a CRM, ticketing system, or database
- Trigger internal automations or downstream jobs
- Send files gathered earlier in the workflow, either as the file itself or as a secure download link
- Query an external API to inform subsequent workflow decisions
- Guide a participant into the next experience, such as another Streamline session, another session of the same workflow, or an external page such as a portal, payment page, scheduling page, or confirmation page.
Before You Begin: Webhook Integration (If Needed)
If your external system requires authentication, create the connection under Integrations first.
Supported authentication options include:
- Basic Authentication (username + password)
- API Key
- Bearer Token (OAuth 2.0) - Client ID, Client Secret, Token URL
- Custom (Key-Pair Value)
Once saved, this connection becomes available under Connection Type → Authenticated in the Outgoing Webhook step.
Please see this article for more information.
Adding the Outgoing Webhook Step to Your Workflow
To add an Outgoing Webhook step to your workflow:
- To add an Outgoing Webhook step, open your workflow and click Add Step, then search for and select Outgoing Webhook from the list of available steps.
- (Optional) Rename the step to help keep your workflow organized.
- Click Edit (or click directly on the step) to begin configuring the webhook.
Once the step is added, all setup happens inside the Request and Response tabs.
Configuring the Request Tab
All webhook behavior is defined within the Request tab. This includes connection settings, URL configuration, parameters, headers, and the request body.
Connection Type
Choose how your webhook will authenticate:
Public
- Use when the endpoint does not require authentication.
- Common for testing tools like Beeceptor or Mockly.
Authenticated
- Use when the endpoint requires credentials.
- Select your saved Webhook Integration.
- Streamline automatically applies any required authentication headers.
HTTP Method
The HTTP method determines what kind of action your webhook performs.
GET – Retrieve data
Use when you want to request information from another system.
Example: Retrieve an order status or fetch customer details.
POST – Create or send data (most common)
Use when you want to send data—such as form responses—to another system.
Example: Create a new CRM record or trigger an automation.
PUT – Update an existing resource
Use when you need to update a record in an external system.
Example: Update a customer profile, ticket, or status field.
DELETE – Remove a resource
Use when you want to delete something in the external system.
Example: Delete a file, remove a record, or close a session.
If GET is selected, the Body section is hidden because GET requests rarely include bodies.
Endpoint URL
Enter the full URL where your webhook will be sent.
https://api.example.com/webhooks/create
https://your-test.free.beeceptor.com/orders
You may also include dynamic path parameters, such as:
https://api.example.com/users/:userId/files/:fileId
Streamline automatically detects these placeholders and displays them in the Path Parameters section.
Redirect Users
You can use an Outgoing Webhook step to send the participant to the next place they need to go in the workflow experience. This can be another Streamline session, another session of the same workflow, or an external page where the organization wants the user to continue.
To configure a redirect:
- Under General settings, confirm the Connection type and HTTP Method. The method should be GET for a redirect.
- In the Endpoint URL field, enter the URL where the participant should be sent.
- Turn on Redirect users.
- Map workflow values into the URL if the next page or session needs context from the current workflow.
- Save and test the workflow path.
Path & Query Parameters
Under Request → Parameters, you can configure dynamic and static values associated with the URL.
Path parameters
- Automatically generated from your URL (e.g., :userId)
- Keys are fixed; you assign the Values
- Values may be static or mapped from earlier workflow steps
Query parameters
- Add your own key/value pairs using Add key/value
- Values may also be static or mapped dynamically
- Optional: Remove all query parameters using Delete all
Adding Headers
Under Request → Headers, you can add any custom HTTP headers required by the external service.
- Use Add key/value to define your own headers
- Header values may be static or mapped from earlier workflow steps
- Content-Type headers may be needed depending on your API’s requirements
When using an authenticated Webhook Integration, certain authentication-related headers may appear automatically in the Headers tab. These headers:
- Are generated based on your selected authentication method
- May include values such as Authorization
- Are read-only and cannot be deleted
If you add a custom header in the Headers tab that uses the same key as an automatically generated authentication header, the custom header you define will overwrite the header provided by the integration. This allows advanced users to override or customize authentication behavior when necessary.
Common examples of headers you may add manually:
- Content-Type: application/json
- Accept: application/json
- X-API-Version: 2
- X-Custom-Token: {{`Form`.`token`}}
Choosing a Body Mode & Writing JSON or Plain Text
Under Request → Body, choose how the webhook request body should be formatted.
(Body configuration will only appear for POST, PUT, or DELETE.)
Raw (JSON or Text)
Use for structured JSON or message-style text.
- JSON mode supports mapping fields using: {{`StepName`.`FieldName`}}
- Drag and drop fields from previous steps using the Data Fields tab; they appear in curly-brace format automatically
- When you map a file into a JSON body, Streamline can send it as a Base64-encoded string or as a secure download link. See Sending Files as Links below.
- Base64-encoded files are limited to 10 MB each
Multipart Form
Use when you need to send a mix of text values and files.
- Ideal for file upload endpoints
- Supports files up to 100 MB each
- Uses key/value-style configuration
Binary File
Use when sending a single large file as the entire request body.
- Only one field: the mapped file
- Recommended for APIs expecting a raw file upload stream
- Supports files up to 2 GB. Very large files may still fail to send because of time limits and limits on the receiving server. See Request Size Limits below.
Sending Files as Links
When your request body is JSON and includes a file from an earlier step, Streamline can send the file in one of two ways:
- As a Base64 string (the original behavior). The file contents are embedded in the JSON. This works for small files but makes large requests, and each file is limited to 10 MB.
- As a download link. Streamline puts a link to the file in the JSON instead of the file itself. Your endpoint downloads the file when it needs it.
To send files as links, turn on Send files as links under Request → Body → Raw, with the type set to JSON. New Outgoing Webhook steps start with this option turned on. You can turn it off to send Base64 instead. Links are only available for JSON bodies. If you change the body to Text or to a different body mode, Send files as links is turned off.
If you don’t see the Send files as links option, your step sends files as Base64.
What your endpoint receives
For each file, your endpoint receives a small JSON object in place of the file:
- encoding: always url
- contentType: the file’s content type, or application/octet-stream if it isn’t known
- url: the HTTPS link to download the file
- expiresAt: the date and time the link expires, in UTC
Downloading the file
The link includes a query string and requires a personal access token, so only someone with access to your Streamline organization can use it. To download a file, your endpoint sends a GET request to the exact url it received, including the query string, with the header Authorization: Bearer <your personal access token>. The token must belong to the organization that owns the file. See Generating and Managing API Access Keys in Streamline for how to create one.
Link expiry
Each link is valid for 10 minutes from the moment Streamline creates it, just before sending the request. If your endpoint needs the file later, it should download it right away and store it. If a request is retried, the retry includes new links.
Things to know
- Only JSON bodies can use links, and only with POST, PUT, or DELETE.
- Each file in the body gets its own link. A single request can include up to 100 files.
- If Streamline can’t create the links, it doesn’t send the request and the step fails.
- Links are not subject to the 10 MB per-file limit for Base64 files, but the finished JSON body, including links, must still be within 30 MB.
Request Size Limits
Streamline limits the size of the request it sends. If a request goes over a limit, Streamline doesn’t send it and the step fails.
| Body mode | How files are sent | Limit |
|---|---|---|
| Raw (JSON) | Embedded as Base64 strings | 10 MB for each file |
| Raw (JSON) | Sent as links | The 10 MB per-file limit doesn’t apply, because the request holds a link instead of the file |
| Raw (JSON) | Any | 30 MB for the whole JSON body, up to 100 files |
| Multipart Form | Each file is a part of the request | 100 MB for each file |
| Binary File | The file is the whole request body | Up to 2 GB for the file |
- The 30 MB limit applies to the finished JSON body after all mappings are filled in. Base64 files count toward it at their encoded size, which is about one third larger than the original file.
- To send a file larger than 10 MB in a JSON body, use Send files as links.
Large files in Multipart Form and Binary File requests
These limits are the largest files Streamline accepts. A large file can still fail to send, even when it’s under the limit, because of other factors:
- Streamline limits how long a single request can take, so a large file needs enough bandwidth between Streamline and your endpoint to finish in time.
- Your endpoint, and any gateway or proxy in front of it, may reject request bodies much smaller than these limits.
If you plan to send files in the hundreds of megabytes or larger, test with a representative file before you rely on it. If your endpoint can accept a JSON body, you can avoid sending the file at all by turning on Send files as links and having your endpoint download the file itself.
Using the Response Tab
The Response tab allows you to test how your endpoint responds before publishing your workflow. It also enables you to wait for and capture the response, so you can map the returned data to downstream steps in your workflow.
Enable Wait for a Response
Toggle Wait for a response to run the webhook synchronously.
Send Test Request
Once the test request is submitted, Streamline will:
- Send the request to your endpoint
- Wait for the response
- Display the response payload in the panel
You can send additional test requests as needed.
Note: Sending a new test overwrites the previous response.
Extracting Fields from the Webhook Response
After you send a test request and receive a response, you can use the Extract Fields section to choose which fields from the webhook payload you want to make available in your workflow.
- Select the fields you want to extract (for example, orderId, status, or nested fields such as customer.email)
- Each selected field will create a corresponding output field in your workflow
If the response requires additional guidance for field extraction, you can write custom instructions in the provided text box.
This helps the system understand how to interpret or locate the correct values, especially when:
- The response structure is complex
- Data is nested deeply
- Field names are inconsistent
- Multiple values need to be derived from a single response field
Custom instructions can describe what you want to extract, the format expected, or how the AI should interpret the response payload.
Considerations When Using the Outgoing Webhook Step
Redirect Behavior
- Redirect users is intended for participant-facing handoffs. If you need Streamline to make a background API request without moving the participant, leave Redirect users turned off.
- Redirect uses a GET navigation. When Redirect users is turned on, the HTTP Method is set to GET. Because the browser performs the navigation, request bodies, non-GET methods, and custom request headers configured on the step are not sent on the redirect.
- If the redirect sends the participant away from the current Streamline session, place the Outgoing Webhook step after any user-facing steps the participant must complete in that path.
- Redirect URLs should be valid HTTP or HTTPS URLs.
Request and Response Formats
- PATCH method is not available
- JSON only - XML and Form-data request/response formats are not supported
- Request and response bodies must be valid JSON
File Handling Constraints
- A JSON request body can include up to 100 files, whether they are sent as Base64 or as links
- Each Base64-encoded file is limited to 10 MB
- Each file in a Multipart Form request is limited to 100 MB, and a Binary File request is limited to 2 GB. Very large files may fail to send because of time limits or limits on the receiving server.
- Links created by Send files as links expire after 10 minutes
- Progress indication for large file uploads may be limited in synchronous operations
See Request Size Limits above for the full list of limits.
Synchronous Operation Only
- The Outgoing Webhook step operates synchronously - the workflow step waits for the API response before proceeding
- There is no asynchronous option for long-running API calls or large file uploads
- Users should be aware that slow external APIs may impact overall workflow execution time
Timeout Behavior
- API calls are subject to timeout limits
- If an external API exceeds the timeout threshold, the step will fail and retry logic will apply
- Specific timeout values should be considered when integrating with slower external systems
No additional compliance considerations specific to this feature at this time. The Outgoing Webhook step follows existing Intellistack Streamline security and data handling practices.
Troubleshooting Common Issues
Participant Is Not Sent to the Expected Page
If a redirect does not take the participant to the expected page:
- Confirm Redirect users is turned on.
- Confirm the HTTP Method is set to GET.
- Confirm the Endpoint URL is valid and starts with http:// or https://.
- If the URL includes mapped workflow values, confirm those values are present when the session reaches the step.
- Test the URL outside Streamline to confirm the external page or Streamline session URL is available.
Best Practice: Test API Calls Before Implementation
Before configuring an Outgoing Webhook step in Streamline, it is strongly recommended to test your API calls using a third-party API testing tool such as Postman or Bruno. This allows you to:
- Verify that your endpoint URL, headers, and authentication are configured correctly
- Confirm the expected request and response formats
- Troubleshoot any API-specific issues before introducing them into your workflow
Once you have confirmed that your API calls work as expected in an external tool, you can confidently configure the same calls in your Streamline workflow.
Authentication Failures
If your Outgoing Webhook step is failing with authentication errors:
- Verify that your credentials are correctly configured in the Integrations Marketplace
- Ensure the authentication method selected in the workflow step matches what the external API expects
- For OAuth 2.0, confirm that the Token URL is correct and accessible
If you are not receiving the expected data in your workflow:
- Confirm the external API returns JSON responses
- Check that you are referencing the correct path in the response object when mapping data to subsequent steps
- Use an API testing tool to view the raw response structure
Timeout or Slow Responses
If your Outgoing Webhook steps are timing out:
- Test the external API’s response time using Postman or Bruno
- Consider whether the external system may be experiencing performance issues
- For APIs that routinely take longer to respond, plan your workflow design accordingly
File Links
Your endpoint can’t download a file from a link
- Request the exact url your endpoint received, including the query string.
- Include a personal access token in the Authorization: Bearer header. The token must belong to the same organization as the workflow.
- Check expiresAt. Links expire 10 minutes after Streamline creates them, so a link that worked earlier may no longer work. Download the file as soon as your endpoint receives the request.
The step fails before the request is sent
- Check that the request has no more than 100 files.
- Check that the finished JSON body is no more than 30 MB.
- If you turned off Send files as links, check that each file is 10 MB or smaller.
Your endpoint receives a link and expects the file
- Turn off Send files as links to send the file as a Base64 string, or use a Multipart Form or Binary File body to send the file itself.
Comments
0 comments
Article is closed for comments.