You have to change the actions permission to "Allow all actions and reusable workflows" and re-commit the workflow or deploy the workflow.
change actions permission