It's common to create chainloop workflows on the fly in the CI before an attestation starts.
To create a workflow, you can use the CLI (or UI) as shown here. If you want to create those workflows programmatically from the CI before each attestation, you can use this reusable workflow, authenticated with an API token.
It would be great if we could provide this functionality to our Dagger module