onInvocation<T>() starts an automation with an encodable payload supplied by another automation. Name the entrypoint when the automation accepts different kinds of invocation. T is compile-time only; the platform does not apply a runtime payload schema.
automations/process-order.automation.ts
invokeAutomation action:
"default". An automation can define each entrypoint once. Names beginning with __$ are reserved for Automate.ax.
runAt accepts a Date, absolute date string, or epoch-millisecond number. runIn accepts a compact duration such as "24h" or a millisecond number. They are mutually exclusive; omitting both invokes immediately.