Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ai-workflows) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ai-workflows
import { ai, Workflow } from 'ai-workflows'
const workflow = Workflow()
workflow.on('ticket.created', ticket => {
const summary = ai.summarize(ticket)
workflow.send('ticket.summarized', summary)
})
workflow.on('ticket.summarized', summary => ai.sentiment(summary).then('update.ticket'))
workflow.every('30 minutes during business hours', context => ai.reviewKPIs(context).then('slack.post'))
export default workflow