Skip to content

Workflow Management

Shruti Agarwal edited this page Apr 26, 2022 · 11 revisions

GovTech Context

Most of the GovTech use cases such as teacher transfer, job applications for unemployed youth, farmer subsidies, etc. have different processes / workflows. For example - in case of teacher transfers - a teacher applies, post which a senior authority approves, etc.

Product Explanation

Enable GovTech workflows such as If this then that (IFTTT), escalations and alerts to be configured and run through a combination of open source products - n8n(workflow builder) and temporal(runner).

Features to be Implemented

Adding a workflow runner to n8n outside of the default one. Implementing a Restful service for creating workflows and demonstrating fault-tolerance nature of workflows and scaling of workers.

  1. Create a simple workflow in n8n using nodes and port it to temporal.
  2. Autogenerate workflows created in n8n in temporal using ASTs.
  3. Allow n8n UI to trigger workflows in n8n rather than it's default bullmq based queue
  4. REST/gRPC wrapper for a workflow and able to control workflow outcomes with signals. Ability to use a stream of data as an input.
  5. ACL implementation.
  6. Demonstrating fault tolerance of the service.

Learning Path

Category Rating
Difficulty ***
Risk/Exploratory **
Core Development ***
Skills Typescript; Concepts: Workflows, Distributed Queues, RPCs, AST
Mentors Ashish
Project size 200 hours

Clone this wiki locally