Unable to use workflow in Code

It gives error Couldn't get Assistant, in payload workflow id is going in assistant object by default
Do i have to link workflow with assitant to use it?
Was this page helpful?