Is There a Way to Create a Workflow Entirely Programmatically Without Using a Template?

Can you give me some example use cases you’d like to enable with programmatic workflows? Would they be long running, or just one-offs?

Both ideally: agents that run in the background and, let’s say “summarize my important emails every day and send them to me via DM on slack”, but also a one shot “Resolve these jiras”.