Docs »

Automations »

Triggers »

resource.get

resource.get automations are triggered by dynamic resources.

This trigger uses event handler KATA, and the first enabled automation is executed.

Inputs

The automation dictionary starts with the following values:

Key Type Notes
actor_* record The current actor dictionary. Supports key expansion.
inputs dictionary Custom input values from the caller.
resource_* record The resource record. Supports key expansion.

Outputs

return:

Key Type Notes
file: object The file metadata

file:

Key Type Notes
content: string The file contents in text (Base64 encode if binary)
expires_at: timestamp Cache this response until this UNIX timestamp