These properties and methods are on the
ctx object which is available to every action.
ctx also contains the following information about the currently running action:
action.slug: The action's slug
action.url: The absolute URL to access the action
environment: The environment the action is running within
organization.name: The name of the action's organization
organization.slug: The slug of the action's organization
params: A key/value object containing the query string URL parameters of the running action
user.email: The email of the person running the action
user.firstName: The first name of the person running the action
user.lastName: The last name of the person running the action
Sends a custom notification to Interval users via email or Slack. To send Slack notifications, you'll need to connect your Slack workspace to the Interval app in your organization settings.
Perform a redirect to another action or an external URL in the
Kicks off a loading spinner to provide context during any long-running action work. Can also be called with a single string argument as the label, or with no arguments to display only a spinner.
Updates any existing loading spinner initated with ctx.loading.start to dynamically provide new loading information to the action runner.
Marks a chunk of work as completed to dynamically provide granular loading progress. Can only be used after ctx.loading.start was called with itemsInQueue.