Advanced Automations

What it does

It’s a workflow automations app that can do just about anything that Freshchat offers with its Webhook and APIs. A sample set of worksflows it can do:

  1. Assign to first responder
  2. Send first response
  3. Send response on agent assignment
  4. Send response on group assignment
  5. Send response on resolution
  6. Reopen on agent engagement on a resolved conversation
  7. Auto respond based on user message … and a limitless number of possibilities.

How it was built:

It’s a serverless app that processes a set of rules that are configurable in the Marketplace Apps settings page. While the settings page is built using Ember, the serverless component is built using nodejs. We split the job of building the app into 3, each of us handling independently testable modules. But for that, we needed to have a solid contract, and that is what took the longest time to agree upon. In the end, the Frontend was completely handled by Imthihas. And the nodejs code was split between Ajay and myself (Arun).

Challenges:

We had to figure out how to load an Ember app in the custom iparams page. It was a challenge to build the complex UI that allowed a multitude of customizations in a short duration of just a few hours. It was a challenge all the way to figure out the hidden/buggy capabilities of Markeplace APIs and Freshchat APIs.

The amazing team that developed this app:

We have shared a video below for setting up automation in the custom installation page. This may provide you an idea about building the complex UI in the custom iparams page. We have used flowvy JS to automate the workflow.
Automation Set Up

2 Likes