This involves being able to know the status of a pipeline, which we don't have access to right now.
My first idea was to have a field for that in the document and set it to the right status when the pipeline finishes, but for this the backend would need to be able to change data in the frontend.
Any ideas?