Hi there,
We have been busy testing the new agent feature today and we're keen to get that inside a workflow.
Apologies in advance if we missed a section of documentation about this step, but what is the correct payload/format to invoke that new agent inside a workflow?
Adding the component, selecting the agent is fine, it's just that last step where we need to include a payload / object to sent an instruction remotely to that agent that blocks us.
Any advice on this step would be fantastic, thank you!
Jerome
Edit 1:
All our attempts so far resulted in:
|error|{payload.action:Invalid discriminator value. Expected 'invoke' | 'getLogs' | 'getLogsForAgent' | 'terminate' | 'submitToolApproval' | 'submitAuthApproval'}|
|---|---|
|errorCode|400|
Or
error | {payload:Expected object, received string} |
---|---|
errorCode | 400 |