Skip to navigation

Workflows

Workflows let you create an automated omnichannel notification experience for your users using a visual workflow builder.

This feature has the flexibility to connect to any third party tool like Mixpanel, Amplitude, MoEngage, Segment or to any web hooks and use conditional blocks to decide who should receive what notifications. You can also design a pre-defined chat workflow where you can send notifications based on user reply. All these can be achieved with ZERO code.

What is a Workflow?

Workflows in Fyno is a notifications orchestration service that allows anyone to easily design intelligent notification flows without coding.

Workflow can be used to:

  • Deliver notifications based on notification events created from data sources like Segment, Mixpanel, Amplitude or any webhooks.
  • Deliver notifications based on a user response to a SMS or WhatsApp notification.
  • Design a transactional journey flow based on Notification event trigger.
  • Call any APIs and use the response to decide any conditional flow.
  • Send Delivery reports back to your backend system or third party analytics tools like Mixpanel through callbacks.

Workflow as a Transformation Layer

Migrating to Fyno from your current service provider requires no modifications to your existing payload structure. Our workflow is designed to accept any payload format and provides flexible transformation capabilities to match your specific requirements. This migration can be completed without any technical development work on your end.

Key benefits:

  • Maintain your current payload structure.
  • Utilize built-in transformation tools.
  • Complete migration without coding requirements.
  • Preserve existing integrations and data formats.

Core Concept

To effectively use workflows, it is important to understand the core building blocks that define how they function.

Triggers

A trigger is the entry point of a workflow that starts execution and passes data into it. Every workflow must have exactly one trigger; without it, the workflow cannot run.

Triggers determine:

  • When the workflow is activated.
  • What data is passed into the workflow.
  • How the workflow connects to internal or external systems.

Different trigger types are designed for different use cases. Some are event-driven, some are based on user behavior, and others rely on external integrations. Choosing the right trigger ensures that workflows run at the appropriate time, receive the required data, and scale effectively.

We support the following trigger types in workflows:

TriggerWhat it does
Meta FlowAllows workflows to start based on user interactions within Meta platforms such as WhatsApp flows.
WebhookAllows workflows to be initiated through real-time API calls from external systems.
Virtual NoA virtual mobile number with the capability to receive incoming messages can be configured here. If you want to design a workflow based on user’s response in WhatsApp or SMS, then this trigger should be used. Contact support@fyno.io for configuring a virtual number.
MixpanelCreate the Workflow using a mixpanel cohort as the trigger.
MoengageEnables workflows to start based on events and user activity tracked in MoEngage.
Notification EventAllows workflows to start based on the lifecycle of a notification.

How to Choose the Right Trigger

Selecting the correct trigger depends on your use case, data source, and desired behavior.

Use the following guidelines to decide:

  • If your workflow needs to start based on backend or system events, use the Webhook trigger.
  • If your workflow depends on user behavior tracked in analytics tools, use Mixpanel or MoEngage.
  • If your workflow is part of a conversational or interactive flow, use Meta Flow or Virtual Number.
  • If your workflow depends on notification delivery or engagement status, use Notification Events.

Actions

Actions represent the actual operations performed within a workflow.

These are the steps where something happens as a result of the trigger and logic defined in the workflow.

Examples of actions include:

  • Sending notifications (SMS, Email, Push, WhatsApp).
  • Calling external APIs via webhooks.
  • Updating user data or attributes.
  • Triggering downstream systems.

Actions are executed in sequence unless modified by conditions. They are responsible for delivering value to the end user or interacting with other systems.

Conditions

Conditions allow you to introduce decision-making into your workflow.

They evaluate data and determine which path the workflow should take next. This enables you to create different experiences for different users based on their attributes or behavior. Conditions typically follow an if/else structure.

Examples:

  • If a user is a premium customer, send a premium offer; otherwise, send a standard offer.
  • If payment fails due to insufficient balance, retry later; otherwise, notify the user immediately.

Conditions make workflows dynamic and personalized, ensuring that users receive relevant communication instead of generic messages.

How Workflows Work

The best way to explain the full scope and capability of Workflows is with an example. So, let’s dive right in.

Company ABC handles payments on its website via an external payment gateway.

The requirement is:

  • To send a notification to the customer whenever an online payment succeeds or fails.
  • If a payment fails, the Workflow should handle the failure scenario differently depending on the type of customer.
  • If the user is a Power User, then convert the payment type to COD and confirm the order by sending an Email and SMS.
  • If the user is non-Power User, then send a SMS with a payment link to retry payment.

Fyno’s Workflow makes it simple to operate this end-to-end process.

While Fyno’s notification events will handle the delivery of notifications, the true power of Workflows can be harnessed by calling any APIs as part of the Workflow and creating actions based on the response.

For this example, let’s assume that company ABC has two API endpoints:

  • /customers: a GET endpoint that returns the type of customer.
  • /orders/{{customer_id}}: a PUT endpoint that can update the customer’s order details.

Here is how the end-to-end process would work. The animation follows each customer through the workflow, one path at a time.

Setup

1

Create the workflow

Company ABC creates the Workflow in Fyno.

2

Connect the payment gateway

ABC then adds the Workflow URL as a webhook for successful and failed payments on the payment gateway site.

What happens for each customer

Customer 1 makes a successful purchase on ABC’s website.

The Workflow fires, and the customer receives an SMS and email confirming the successful purchase.

What would have otherwise required more than a few lines of code to configure, is being addressed with Fyno’s Workflow feature, allowing you to add triggers, provide conditions and decide outcomes, all with a visual understanding of how the entire flow will work.

Create a Workflow

Here is the full flow at a glance, from creating a workflow to taking it live.

1

Open Workflows

In the side menu, go to Workflows. The page lists all your workflows. You can search by name, filter by Version, switch the layout, and filter by group from the panel on the left.

Click CREATE.

2

Name the workflow

In the Create Workflow window, fill in:

  • Name: a name that tells your team what the workflow does.
  • Add To Group (Optional): puts the workflow in a group so it is easier to find later.
  • Description (Optional): a short note on what the workflow is for.

Click SUBMIT.

3

Pick a trigger

The workflow builder opens with all the trigger types around the centre. Click the one that should start your workflow. See Triggers to decide which one fits.

4

Build the flow

Add nodes from the panel on the left of the canvas and connect them to set the order of steps, such as sending a notification event or waiting for a set time before the next step.

Click SAVE to save your changes to the Test version.

5

Go live

When you have tested the workflow, click GO LIVE, then click CONFIRM. See the Go Live tab under Manage Workflows for more.

The Workflow Builder

The top of the builder shows the workflow name and its version, along with the controls you use most.

ControlWhat it does
Version dropdownShows the version you are viewing, for example v1 (Test) or v4 (Live). Use it to switch between versions.
Created / UpdatedShows who last changed the workflow, which version, and how long ago.
History iconOpens the change logs. See How to view change logs?
Customize Token iconOpens Update Workflow Token. See Access and Settings.
Workflow URL iconOpens the Workflow URL window. See Access and Settings.
GO LIVEPublishes the current Test version to Live.
SAVESaves your changes to the Test version.

The bottom left of the canvas has tools to zoom in, zoom out, fit the whole flow on screen, go full screen and show a mini map.

Workflow Options Menu

Each workflow in the workflow list includes a More Options menu (⋮), which provides access to the most common workflow management actions. These actions allow you to update workflow information, review configuration details, create copies, request deletion, or publish changes without leaving the workflow list.

Available Options

OptionDescription
EditUpdate the workflow name or change its assigned group.
Copy to another workspaceCopy the workflow to a different workspace.
View DetailsView the workflow, dependencies, versions, and where it is used across the workspace.
DuplicateCreate a copy of the workflow.
Workflow URLGet the URL used to call the workflow and set who can call it.
Customize TokenSet your own token for calling the workflow with token authentication.
DeleteDelete the workflow.
Go LivePublish the current Test version of the workflow to the Live environment.

Manage Workflows

The Edit action allows you to modify the workflow’s basic information without affecting its configuration. This is typically used to rename a workflow or reorganize it into a different group.

Access and Settings

Every workflow has a URL. Other systems, such as a payment gateway or your backend, call this URL to start the workflow. Open it from Workflow URL in the More Options menu (⋮), or from the Workflow URL icon in the builder.

The Workflow URL window lets you:

  • Switch between the LIVE and TEST URL.
  • Choose how callers sign in, with BASIC AUTH or TOKEN AUTH.
  • Copy the URL with the copy icon.
  • Set who can call the workflow with the Restricted toggle.

Click SAVE CHANGES to keep your changes.

Authentication methods

MethodWhen to use it
BASIC AUTHThe URL carries your Fyno account details, so callers can use it as is.
TOKEN AUTHThe URL uses a workflow token instead. You can set your own token in the Customize Token tab.

Treat the Workflow URL like a password. Anyone who has it can start the workflow while access is public.

Access level

By default, the access level of a workflow is public, so it can be called with either authentication method above. Turn on Restricted to allow the workflow to run only with your Fyno API Key.

Keep the workflow public while you build and test it, then switch it to Restricted once it is ready.

How to view change logs?

To view the history of all the modifications made to a workflow, you can utilize the change logs feature.

To do so, open the workflow and click the history icon at the top right of the builder, next to the Created or Updated details, as shown in the image below.

The Change Logs panel opens with the latest change at the top. It shows the following details:

  • Who updated it
  • Which version was updated, and what happened to it, for example Updated (v3) or Went live with (v2)
  • At what date & time it was updated