Workflow automation platform with API access for managing workflows, executions, and credentials programmatically