1. Blocks
  2. Update

Blocks

Update

Block that runs the _update action.

The update block is used to run the

_update
action without needing to use the actionsmenu block. The block can also be configured to run an action other than
_update

Messages submitted to an update block are available for variable substitution by the {{stubpost.message}} expression.

Basic Usage

This example block is added to the stub layout via the layout editor and is only visible to stubber authenticated users.

The default configuration is as follows :

loading...

Customization

You can change the action that the block executes by adding the action parameter:

loading...

In the above example, submitting a message to the update block will execute the

update_from_chat_assistant_task
action.