Chatforma
chatformaChatforma is a chatbot automation platform for managing bots, users, segments, broadcasts, dialogs, forms, notifications, and variables.
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ónGet the current value of one bot variable for one bot user.
CHATFORMA_GET_USER_VARIABLEAcciónGet the current value of one bot variable for one bot user.
Parámetros de entrada
bot_idintegerObligatorioBot ID returned by CHATFORMA_LIST_BOTS.
bot_user_idintegerObligatorioBot user ID returned by CHATFORMA_LIST_USERS.
variable_idintegerObligatorioVariable ID returned by CHATFORMA_LIST_VARIABLES.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List BotsCHATFORMA_LIST_BOTSAcciónList bots belonging to the connected Chatforma account so their IDs can be used in bot-scoped tools.
CHATFORMA_LIST_BOTSAcciónList 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Dialog MessagesCHATFORMA_LIST_DIALOG_MESSAGESAcciónReturn one page of messages exchanged in a specific user's bot dialog, with a cursor for continuing the history.
CHATFORMA_LIST_DIALOG_MESSAGESAcciónReturn one page of messages exchanged in a specific user's bot dialog, with a cursor for continuing the history.
Parámetros de entrada
bot_idintegerObligatorioBot ID returned by CHATFORMA_LIST_BOTS.
user_idintegerObligatorioDialog user ID returned by CHATFORMA_LIST_USERS with view=open_dialogs.
per_pageintegerRequested messages per page. Chatforma documents a default of 30 but no maximum.
next_cursorstringContinuation cursor returned by a prior call. Omit for the first page and pass it back unchanged to continue.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Predefined MessagesCHATFORMA_LIST_PREDEFINED_MESSAGESAcciónList predefined messages configured in a bot so a message ID can be selected for sending.
CHATFORMA_LIST_PREDEFINED_MESSAGESAcciónList predefined messages configured in a bot so a message ID can be selected for sending.
Parámetros de entrada
bot_idintegerObligatorioBot ID returned by CHATFORMA_LIST_BOTS.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SegmentsCHATFORMA_LIST_SEGMENTSAcciónList the user segments configured for a bot, including segment IDs needed for targeted sends.
CHATFORMA_LIST_SEGMENTSAcciónList the user segments configured for a bot, including segment IDs needed for targeted sends.
Parámetros de entrada
bot_idintegerObligatorioBot ID returned by CHATFORMA_LIST_BOTS.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List UsersCHATFORMA_LIST_USERSAcciónList a bot's users, members of one segment, or users with open dialogs; choose the view that matches the task.
CHATFORMA_LIST_USERSAcciónList a bot's users, members of one segment, or users with open dialogs; choose the view that matches the task.
Parámetros de entrada
viewstringenumWhich user collection to return: all bot users, members of one segment, or users with open dialogs.
bot_userssegment_membersopen_dialogsbot_idintegerObligatorioBot ID returned by CHATFORMA_LIST_BOTS.
deletedbooleanFor bot_users only, return deleted users instead of active users.
per_pageintegerFor bot_users or open_dialogs, requested records per page. Chatforma does not document a maximum, and defaults bot_users to 100.
segment_idanySegment ID returned by CHATFORMA_LIST_SEGMENTS. Required only when view is segment_members.
next_cursorstringFor 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List VariablesCHATFORMA_LIST_VARIABLESAcciónList variables configured for a bot, including IDs and types needed to read user-specific values.
CHATFORMA_LIST_VARIABLESAcciónList variables configured for a bot, including IDs and types needed to read user-specific values.
Parámetros de entrada
bot_idintegerObligatorioBot ID returned by CHATFORMA_LIST_BOTS.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send Dialog MessageCHATFORMA_SEND_DIALOG_MESSAGEAcciónImmediately send a user-visible text message into a specific user's bot dialog. This irreversible action may contact a real user.
CHATFORMA_SEND_DIALOG_MESSAGEAcciónImmediately 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_idintegerObligatorioBot ID returned by CHATFORMA_LIST_BOTS.
messagestringObligatorioText to send to the user. Sending is immediate and cannot be undone.
user_idintegerObligatorioDialog user ID returned by CHATFORMA_LIST_USERS with view=open_dialogs.
idempotency_keystringObligatorioUnique client-generated ID for this message, used to recognize the sender's own message and avoid accidental duplicate identifiers.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send Predefined MessageCHATFORMA_SEND_PREDEFINED_MESSAGEAcciónSend a configured bot message to one user or dispatch it to a segment. This irreversible action may contact one or many real users.
CHATFORMA_SEND_PREDEFINED_MESSAGEAcciónSend 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_idintegerObligatorioBot ID returned by CHATFORMA_LIST_BOTS.
run_atstringdate-timeFor a segment dispatch only, schedule delivery for this ISO 8601 date-time; omit to dispatch immediately.
message_idanyObligatorioPredefined message ID returned by CHATFORMA_LIST_PREDEFINED_MESSAGES.
segment_idanySegment ID returned by CHATFORMA_LIST_SEGMENTS. Required only when recipient_type is segment.
bot_user_idintegerBot user ID. Required only when recipient_type is user.
recipient_typestringObligatorioenumSend to one bot user or dispatch to every user in a segment.
usersegment
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send Text DispatchCHATFORMA_SEND_TEXT_DISPATCHAcciónCreate 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.
CHATFORMA_SEND_TEXT_DISPATCHAcciónCreate 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_idintegerObligatorioBot ID returned by CHATFORMA_LIST_BOTS.
run_atstringdate-timeFor a single-user dispatch only, schedule delivery for this ISO 8601 date-time; omit to dispatch immediately.
contentstringObligatorioText content delivered to the selected recipient or audience. Sending cannot be undone through this API.
segment_idanySegment ID returned by CHATFORMA_LIST_SEGMENTS. Required only when recipient_type is segment; use 0 to target all bot users.
bot_user_idintegerBot user ID. Required only when recipient_type is user.
recipient_typestringObligatorioenumDispatch to one bot user or every user in a segment.
usersegment
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not