Understanding workers <> workflows

Hi I am new to workflows and I am wrapping my head around the relationship between workers and worflows. Following is my understanding:

  1. We need a worker binded to a workflow so that we can trigger the workflow
  2. There's no other way to create a workflow other than to declare it via a worker
  3. The workflow step instances are probably individual workers which are
    abstracted away from the end user
  4. One worker can be binded to multiple workflows.
  5. When defining the workflow in the binded worker we do define parameters
    (in Params) but these are not specific to any workflow. These are in-code
    worker specific construct/convention. Which is why, currently in workflows
    web UI, you'd not see any "typed" way to provide parameters. It would
    accept just about any JSON you provide.
  6. You'd usually trigger the workflow via the REST API or via the binded
    Worker. Trigger via the binded Worker is more preferable to me as it
    allows for better error handling and any other processing. Also the
    Workflows REST API endpoint is not very well documented.
Is this correct? would you add anything?
Was this page helpful?