storagestringrequiredThe storage.
actionstringrequiredinsert · update · delete · sql · put · remove · createCollection · dropCollection.
collectionstringRequired by the five document actions.
sqlstringRequired by sql.
keystringRequired by put and remove.
allbooleanConfirms a change with an empty filter.
{ id: "file", type: "storage.write", config: {
storage: "…", action: "insert", collection: "tickets",
documents: [{ text: "{{input.text}}", at: "{{input.receivedAt}}" }] } }{"id": "file", "type": "storage.write", "config": {
"storage": "…", "action": "insert", "collection": "tickets",
"documents": [{"text": "{{input.text}}", "at": "{{input.receivedAt}}"}]}}An empty filter is refused — twice
Saving catches a filter that is empty as written. But {{steps.find.output.id}} passes validation and can resolve to an empty string at run time — so it is checked again, with the field named. A run with nobody watching must not be able to empty a collection because an upstream template produced nothing.
Output
{{steps.file.output.result}}
{{steps.file.output.action}}
{{steps.file.output.storage}}"{{steps.file.output.result}}"
"{{steps.file.output.action}}"
"{{steps.file.output.storage}}"There is no undo
And no approval required either — this stays inside the account. A retry from before this step writes again, which is the thing to think about before retrying a chain that writes.