Volver al catálogo

Chatforma

chatforma

Chatforma is a chatbot automation platform for managing bots, users, segments, broadcasts, dialogs, forms, notifications, and variables.

Acciones
10
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (10)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Get User VariableCHATFORMA_GET_USER_VARIABLEAcción

Get the current value of one bot variable for one bot user.

Parámetros de entrada

  • bot_idintegerObligatorio

    Bot ID returned by CHATFORMA_LIST_BOTS.

  • bot_user_idintegerObligatorio

    Bot user ID returned by CHATFORMA_LIST_USERS.

  • variable_idintegerObligatorio

    Variable ID returned by CHATFORMA_LIST_VARIABLES.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List BotsCHATFORMA_LIST_BOTSAcción

List bots belonging to the connected Chatforma account so their IDs can be used in bot-scoped tools.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Dialog MessagesCHATFORMA_LIST_DIALOG_MESSAGESAcción

Return one page of messages exchanged in a specific user's bot dialog, with a cursor for continuing the history.

Parámetros de entrada

  • bot_idintegerObligatorio

    Bot ID returned by CHATFORMA_LIST_BOTS.

  • user_idintegerObligatorio

    Dialog user ID returned by CHATFORMA_LIST_USERS with view=open_dialogs.

  • per_pageinteger

    Requested messages per page. Chatforma documents a default of 30 but no maximum.

  • next_cursorstring

    Continuation cursor returned by a prior call. Omit for the first page and pass it back unchanged to continue.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Predefined MessagesCHATFORMA_LIST_PREDEFINED_MESSAGESAcción

List predefined messages configured in a bot so a message ID can be selected for sending.

Parámetros de entrada

  • bot_idintegerObligatorio

    Bot ID returned by CHATFORMA_LIST_BOTS.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List SegmentsCHATFORMA_LIST_SEGMENTSAcción

List the user segments configured for a bot, including segment IDs needed for targeted sends.

Parámetros de entrada

  • bot_idintegerObligatorio

    Bot ID returned by CHATFORMA_LIST_BOTS.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List UsersCHATFORMA_LIST_USERSAcción

List a bot's users, members of one segment, or users with open dialogs; choose the view that matches the task.

Parámetros de entrada

  • viewstringenum

    Which user collection to return: all bot users, members of one segment, or users with open dialogs.

    bot_userssegment_membersopen_dialogs
  • bot_idintegerObligatorio

    Bot ID returned by CHATFORMA_LIST_BOTS.

  • deletedboolean

    For bot_users only, return deleted users instead of active users.

  • per_pageinteger

    For bot_users or open_dialogs, requested records per page. Chatforma does not document a maximum, and defaults bot_users to 100.

  • segment_idany

    Segment ID returned by CHATFORMA_LIST_SEGMENTS. Required only when view is segment_members.

  • next_cursorstring

    For bot_users or open_dialogs, continuation cursor returned by a prior call. Repeat the same view and omit it for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List VariablesCHATFORMA_LIST_VARIABLESAcción

List variables configured for a bot, including IDs and types needed to read user-specific values.

Parámetros de entrada

  • bot_idintegerObligatorio

    Bot ID returned by CHATFORMA_LIST_BOTS.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send Dialog MessageCHATFORMA_SEND_DIALOG_MESSAGEAcción

Immediately send a user-visible text message into a specific user's bot dialog. This irreversible action may contact a real user.

Parámetros de entrada

  • bot_idintegerObligatorio

    Bot ID returned by CHATFORMA_LIST_BOTS.

  • messagestringObligatorio

    Text to send to the user. Sending is immediate and cannot be undone.

  • user_idintegerObligatorio

    Dialog user ID returned by CHATFORMA_LIST_USERS with view=open_dialogs.

  • idempotency_keystringObligatorio

    Unique client-generated ID for this message, used to recognize the sender's own message and avoid accidental duplicate identifiers.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send Predefined MessageCHATFORMA_SEND_PREDEFINED_MESSAGEAcción

Send a configured bot message to one user or dispatch it to a segment. This irreversible action may contact one or many real users.

Parámetros de entrada

  • bot_idintegerObligatorio

    Bot ID returned by CHATFORMA_LIST_BOTS.

  • run_atstringdate-time

    For a segment dispatch only, schedule delivery for this ISO 8601 date-time; omit to dispatch immediately.

  • message_idanyObligatorio

    Predefined message ID returned by CHATFORMA_LIST_PREDEFINED_MESSAGES.

  • segment_idany

    Segment ID returned by CHATFORMA_LIST_SEGMENTS. Required only when recipient_type is segment.

  • bot_user_idinteger

    Bot user ID. Required only when recipient_type is user.

  • recipient_typestringObligatorioenum

    Send to one bot user or dispatch to every user in a segment.

    usersegment

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send Text DispatchCHATFORMA_SEND_TEXT_DISPATCHAcción

Create a user-visible text dispatch for one bot user or a segment. Delivery may be immediate or scheduled where supported and cannot be undone through this API.

Parámetros de entrada

  • bot_idintegerObligatorio

    Bot ID returned by CHATFORMA_LIST_BOTS.

  • run_atstringdate-time

    For a single-user dispatch only, schedule delivery for this ISO 8601 date-time; omit to dispatch immediately.

  • contentstringObligatorio

    Text content delivered to the selected recipient or audience. Sending cannot be undone through this API.

  • segment_idany

    Segment ID returned by CHATFORMA_LIST_SEGMENTS. Required only when recipient_type is segment; use 0 to target all bot users.

  • bot_user_idinteger

    Bot user ID. Required only when recipient_type is user.

  • recipient_typestringObligatorioenum

    Dispatch to one bot user or every user in a segment.

    usersegment

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not