The Forge
Action
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:
Props
name
string
requiredThe 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.