How to trigger a workflow in when another workflow is finished?



In one of my applications, I need to trigger a workflow when another workflow is finished, is that possible ? If yes, how ?


1 Like


Hi @eaappfactory,

Thanks for asking this here! :wink:

You definitely can do this, e.g. with a Script step. Just use the Bitrise Build Trigger API and start the other build with a curl command.

If you have any questions just let us know!

1 Like


I needed to trigger another workflow on created Bitbucket Pull Request and this is what did:

  • create a small Flask app that triggers Bitrise build
  • create webhook in bitbucket pointing to that app

Result: 1 build was triggered by Bitrise’s native bitbucket integration and another via additional webhook.

But I think what Viktor suggested is much simpler solution :slight_smile: