Overview
Workflows lets 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, 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 an 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 and 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
- Enables you to call any APIs and the response can be used to determine any conditional flow.
- Send Delivery reports back to your backend system or third party analytics tools like Mixpanel through callbacks.
Workflow Triggers
To create a workflow, you need to choose a trigger. This is based on how you want to send payload to workflow. We support 2 triggers in workflows now.
- Webhooks - Create the Workflow using a Webhook as the trigger.
- Virtual No - A 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 [email protected] for configuring a virtual number.
- Mixpanel - Create the Workflow using a mixpanel cohort as the trigger.
- Journey - Create a Journey using notification event as the trigger. This will be helpful if you have a predefined journey with a end goal like SIP reminders to complete payment, KYC completion etc.
- Webhooks with Digest - Create a workflow with digest. Digest Notifications work by collecting multiple notification events, aggregating them into a single message, and delivering it to the user.
Understanding Workflows
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
- aGET
endpoint that returns the type of customer. -
/orders/{{customer_id}}
- aPUT
endpoint that can update the customer’s order details
Here is how the end-to-end process would work:
- Company ABC creates the Workflow in Fyno.
- ABC then adds the Workflow URL as a webhook for successful and failed payments on the payment gateway site
- 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.
- Customers 2 and 3 cannot make a successful online payment due to an issue with the bank. The Workflow fires, and due to the failed payment, it knows to trigger the
/customers
endpoint to get details about customer type. - Customer 2 is found to be a Power User (best user cohort in terms of monetisation) based on the result of the API call to
/customers
. - As a result, Customer 2’s order is confirmed (despite the failed payment), and the Workflow converts the order type to COD by making an API call to
/orders/{{customer_id}}
. - If this API call is successful, the Workflow sends an order confirmation to Customer 2 via Email and SMS.
- But Customer 3 is found to be a non-Power User.
- So for Customer 3, workflow will trigger a notification with Payment link to retry and make the payment.
- Once the Customer 3 successfully makes the payment, he/she will receive Order Confirmation communication.
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.
Updated 3 months ago