Trigger operations based on user input.
primary: true
on an Action, it will be represented as the
rightmost button in the Workbook.If you configure trackChanges: true
, it will disable your actions
until all commits are complete (usually data hooks).job:ready
and filter on the job
you’d like to process. Be sure to complete the job when it’s complete.
actions
parameter when you create a Document.
primary: true
on an Action, it will be represented as the
rightmost button in the Document.job:ready
and filter on the domain
(sheet) and the
operation
of where the action was placed. Be sure to complete to job when
it’s complete.
records.get
or through data passed in through event.data
. Here are some examples demonstrating how you can extract data from a Sheet-mounted action:
event.data
returns a promise resolving to an object with a records property so we extract the records property directly from the event.data object.
event.data
will only extract information exclusively for the chosen records, providing focused data retrieval for targeted analysis or operations.
event.data
returns a promise resolving to an object with a records property so we extract the records property directly from the event.data object.
file:ready
event and add one or more actions to the file.
job:ready
and filter on the domain
(file) and the operation
of where the Action was placed. Be sure to complete to job when it’s complete.
job:ready
and filter on the job
you’d like to process. Grab the data entered in the form from the job itself and leverage it as required for your use case.
hasAllValid
constraint on an Action will
disable a Workbook Action when there are invalid records.hasData
on an Action will
disable a Workbook Action when there are no records.hasSelection
on an Action will disable a Sheet Action when no records in the Sheet are selected.