Hi everyone, quick update on files over connectors.
As of r391, HTTP connector functions can return files, such as PDFs and images, from external systems. This complements the native File input type, so files can now move in both directions. You can now dynamically show a work instruction from your document system on a step, or save a certificate from a supplier to a table record.
How it works
Add an output to your connector function, set its type to File (or Image), and pick a decoding that matches how the file appears in the response:
- URL: the response contains a link to the file. The link is returned as-is, so it needs to point to the file itself (not a web page that displays it) and be reachable without signing in.
- Base64: the response contains the file as a base64-encoded string. Tulip decodes it, stores the file, and you can preview it right from the test results.

Using it in an app
Store the output in a File variable and show it in a PDF or Image widget, or save it to a table’s File field.

We’ll be adding raw binary response decoding pretty soon, stay tuned!
Best,
Cana