Swift Flow Webhooks
Swift Flow Webhooks allow external systems to securely trigger your automated no-code Workflows and Integrations. By creating a Webhook, you generate a secure endpoint and an API Key, effectively turning your Swift processes into accessible APIs for third-party applications.
Interface Overview
Navigate to Design Studio > Swift Flow > Webhooks to manage your credentials.
Webhook Dashboard: Displays all active webhooks with their unique ID, last modified date, and the administrator who created them.
Search & Actions: Use the search bar to find specific webhooks or the Delete icon (with a "Yes, I understand" safety toggle) to remove them.
Creating and Configuring a Webhook
The creation process is a streamlined, two-step pop-up experience.
Step 1: Initial Creation
Click the + Create Webhook button. This opens an initial modal where you provide a Name (e.g., "Shopify Order Webhook") and an optional Description.
Step 2: Automatic Redirection to Configuration
Upon clicking "Create," the system immediately redirects you to the main configuration modal. This modal is divided into two primary tabs: Access and Settings, where you define the webhook's permissions and behavior.
1. Access Tab: Defining Permissions
This tab acts as an authorization layer. A single Webhook credential can be granted access to multiple processes at once.
Workflows & Integrations: Scroll through the list and check the boxes for the specific Workflows or Integrations you want to expose via this webhook.
Endpoints: Swift automatically generates a unique URL for every process you select.
Example: https://go-swift.ephlux.com/api-swift/.../workflow/ID?SWIFT_API_KEY=...
Use the Copy icon next to the endpoint to grab the full URL for use in your external application (e.g., Postman or a custom script).
2. Setting Tab: Security & Response Logic
This tab manages how the external system interacts with Swift and how Swift responds.
Response Type:
Standard Response: Returns Swift’s structured JSON response. This is recommended for consistent and reliable integration across different workflows.
Raw Response: Returns the exact response from the source system without any modifications. Use this if the calling system requires a specific, non-standard format.
Security (API-Key):
API-Key: This is your secure token. You can view it by clicking the eye icon or copy it for your request headers. Use this key in your request header by passing it with the SWIFT_API_KEY parameter.
Generate New Key: If a key is compromised, you can generate a new one immediately without deleting the entire webhook configuration.
Monitoring and Troubleshooting (Logs)
Swift Flow provides deep visibility into every webhook execution through the View Logs button.
Webhook Logs Dashboard
The log viewer provides a high-level summary of all incoming requests:
Color Coding: Logs are color-coded for quick identification—Blue for Workflows and Yellow for Integrations.
Metadata: Track the Log ID, Name of the process triggered, Type, and exact Timestamp.
Status: Quickly identify if a call was "Successful" or failed.
Detailed Execution View
Clicking View on a specific log entry opens a detailed breakdown:
Response Time: See exactly how long the process took to execute (e.g., 0.08 sec).
Log Details (Incoming Data): View the "root" JSON payload sent by the external system. This is invaluable for verifying that the third party is sending the correct data.
Log Details (Output): View the JSON response Swift sent back to the caller, including the status code (e.g., 200 or 202).
Copy Logic: Both Incoming and Output data windows have a Copy button, allowing you to easily grab payloads for testing in the "Define Input" stage of an Integration or Workflow.
With your integrations configured and your webhooks live, your automated ecosystem is ready for action