This repo contains two examples. One is a fraud analisis worker for a banking workflow. The other is a full workflow as code example.
Examples:
install dependencies using yarn
Note Obtain KEY and SECRET from the playground or your Conductor server. Quick tutorial for playground
Export variables
export KEY=
export SECRET=
export SERVER_URL=https://play.orkes.io/apiRun the main programs using ts-node
ts-node src/banking/main.ts
ts-node src/emailandsms/main.ts