CreateConnector

The CreateConnector action creates a new connector for a specified integration. Connectors are the communication channels through which the agent interacts with external services.

CreateConnector(
    integrationIdn: str,
    connectorIdn: str,
    title: str,
    settings: dict = {},
    start: bool = True
)

Where:

  • integrationIdn: The integration identifier (e.g., "program_timer", "api", "twilio_messenger").
  • connectorIdn: The unique identifier for the connector being created.
  • title: The display title for the connector.
  • settings: (Optional) A dictionary of settings for the connector (e.g., {"channel": "text"}).
  • start: (Optional) Whether to start the connector immediately after creation. Defaults to True.

Example

{{CreateConnector(
    integrationIdn="program_timer",
    connectorIdn="my_timer",
    title="My Timer",
    settings={},
    start=True
)}}

The above code snippet creates a new programmable timer connector with the identifier "my_timer" and starts it immediately.