An Action is a code-based operation that runs when a user clicks a button or menu item in Flatfile. Actions can be mounted on Sheets, Workbooks, Documents, or Files to trigger custom operations.Defining a custom Action is a two-step process:
Define an Action in your Flatfile blueprint or in your code
When an Action is triggered, it creates a Job that your application can listen for and respond to.Given that Actions are powered by Jobs, the Jobs Lifecycle pertains to Actions as well. This means that you can update progress values/messages while an Action is processing, and when it’s done you can provide an Outcome, which allows you to show a success message, automatically download a generated file, or forward the user to a generated Document.