Skip to main content
An action is what a block can do when it is executed with Typebot. A block can have multiple actions. Here is the sendMessage action of the Telegram block:
Action example

Props

name
string
required
The name of the action.
auth
Auth
If the block requires authentication, the auth object needs to be passed to the action.
baseOptions
z.ZodObject<any>
If the block has options defined (see block props), this needs to be provided here.
options
z.ZodObject<any>
The action configuration options. See Options for more information.
run
Check out the Run documentation for more information on how this can be configured depending of your scenario.