Add workflow API