Skip to main content
After using the CLI to create your new block. The index.ts file contains the block definition. It should look like:
Block name and logo match

Props

string
required
The block ID. It should be unique all the other blocks.
string
required
A concise name for the block. Should be short enough to fit into a small block card.
Logo used on the dark mode.
string
The full name that will be displayed as a tooltip when the mouse hovers the block card.
string[]
List of strings describing the block. Used for block searching.
Auth
See Auth for more information.
Action[]
A list of all the possible actions that this block provides. See Action for more information
string
The dedicated documentation URL. (i.e. https://docs.typebot.io/editor/blocks/integrations/openai)
z.ZodObject<any>
Provide it if all the block actions share the same properties. See Options for more information. In the block settings it will then be displayed between the auth and the actions:
Block options
Fetcher[]
A list of fetchers used in the provided options. See Fetcher for more information.