Skip to content

Queued Actions ​

Forge lets you queue actions with forge.enqueue(). Queued actions appear at the top of the Dashboard with the action name, any parameters, and buttons to run or cancel the action. Once run or canceled, they’re automatically removed from the list.

Assigning Actions ​

You can assign a queued action to a specific user by their email. Assigned actions are only visible to that user.

Usage ​

ts
const queuedAction = await forge.enqueue("moderate_comment", {
  assignee: "[email protected]",
});

await forge.dequeue(queuedAction.id);

Key Properties assignee: Email of the user to assign the action to. If omitted, it’s visible to all users. params: Key-value pairs to pass to the action. Note: In SDK versions before 0.38.0, use forge.actions.enqueue and forge.actions.dequeue instead.