Invoke Automation with File
How to invoke an Automation using a File as input
You can pass files as the input to an Automation. Each file is first uploaded to Guru, and then the file IDs passed to the invocation endpoint to use as input.
First, complete the following two steps for each file that you wish to upload:
The File IDs returned from the first step are then used below to invoke the Automation.
After the invocation has begun, invoke the Invocation Status endpoint to check on progress and fetch the output.
Request
The ID of the automation to invoke. This value can be retrieved from the details page of the Automation on the Guru Console.
Array of objects. Each object has a file_id
property, which is the value returned when the file was created,
and an extension
property, indicating the type of the file. Accepted values are pdf
or txt
.
Response
The unique identifier for this invocation. This value can be used to check the status of the invocation.