ExecuteActionData: {
    actionName: string;
    requestBody?: {
        appName?: string;
        connectedAccountId?: string;
        input?: {
            [key: string]: unknown;
        };
        text?: string;
    };
}

Type declaration

  • actionName: string

    The name of the action to execute.

  • Optional requestBody?: {
        appName?: string;
        connectedAccountId?: string;
        input?: {
            [key: string]: unknown;
        };
        text?: string;
    }
    • Optional appName?: string
    • Optional connectedAccountId?: string

      The unique identifier of the connection to use for executing the action.

    • Optional input?: {
          [key: string]: unknown;
      }

      An object containing the input parameters for the action. If you want to execute NLP based action (i.e text), you can use text parameter instead of input.

      • [key: string]: unknown
    • Optional text?: string

      The text to supply to the action which will be automatically coverted to appropriate input parameters.