Empezar ahora
Canvas Tools

Canvas Create Conversation

Usa Canvas Create Conversation con Canvas Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.

Action de escrituraNivel de riesgo 2 de 5Conexión con clave de API

Descripción del proveedor

Use to send messages in Canvas by creating a new conversation or adding to an existing one; an existing conversation with the same recipients (and matching scope/filter, if specified) may be reused unless `force_new` is true.

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

  • bodystring
    Obligatorio
    The content of the message to be sent.
  • modestring
    Determines whether messages will be created/sent synchronously or asynchronously. 'sync' means the action waits for completion, 'async' means it returns immediately. Defaults to 'sync'.
  • scopestring
    Filters conversations by a specific scope (e.g., 'unread', 'starred', 'archived') to potentially reuse an existing conversation matching this scope and other filter criteria. Affects which conversation is returned or updated if not forcing new.
  • filterarray
    Array of conversation IDs or user IDs. Used with `scope` and `filter_mode` to find an existing conversation to reuse. If a match is found and `force_new` is not true, that conversation is used/updated instead of creating a new one.
  • subjectstring
    The subject of the conversation. Maximum length is 255 characters.
  • force_newboolean
    If true, forces the creation of a new conversation, even if an existing private conversation with the same recipients, scope, and filters is found. If false or not provided, an existing matching conversation may be reused.
  • recipientsarray
    Obligatorio
    Array of recipient IDs. User IDs are numeric strings. Course/group IDs are strings prefixed with 'course_' or 'group_' respectively, followed by the ID (e.g., 'course_123', 'group_456').
  • filter_modestring
    Specifies how the `filter` criteria are combined ('and', 'or'). Used in conjunction with `scope` and `filter` to identify an existing conversation for reuse. 'default' typically implies 'and'.
  • context_codestring
    The course or group ID that provides context for this conversation (e.g., 'course_123', 'group_456'). This associates the conversation with a specific course or group.
  • attachment_idsarray
    Array of attachment IDs from the sender's conversation attachments folder. These are IDs of files previously uploaded by the sender.
  • media_comment_idstring
    Media comment ID of an audio or video file to be associated with this message. This ID refers to a media object previously created.
  • group_conversationboolean
    If true, a single group conversation is created with all recipients. If false or not provided, individual private conversations will be created with each recipient. Ignored if `force_new` is true and a new conversation is created.

Salida observable

  • data
    Obligatorio
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatorio
    Whether or not the action execution was successful or not

Skills que usan esta Action

Casos de uso relacionados

Aún no hay casos de uso relacionados verificados.

Fuente oficial

Fuente del proveedor