Volver al catálogo

Grain

grain

Grain records, transcribes, and organizes meetings so teams can review conversations, share insights, and manage meeting content.

Acciones
17
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 (17)

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.

Create HookGRAIN_CREATE_HOOKAcción

Create a Grain webhook subscription after Grain verifies that the public HTTPS callback returns a 2xx response.

Parámetros de entrada

  • includeobject

    Payload expansions supported by the selected hook type. Recording, highlight, and upload hooks each accept only their documented fields.

  • hook_urlstringObligatoriouri

    Public HTTPS callback URL. Grain sends a POST reachability test during creation, and the callback must return a 2xx response.

  • hook_typestringObligatorioenum

    Event type to subscribe to.

    recording_addedrecording_updatedrecording_deletedhighlight_addedhighlight_updatedhighlight_deletedstory_addedstory_updatedstory_deletedupload_addedupload_updated

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

Create UploadGRAIN_CREATE_UPLOADAcción

Create a Grain transcript upload or an audio/video upload slot. Transcript content is submitted in this call. By default, Grain automatically promotes the completed upload into a recording; set auto_promote=false to stage it instead. Automatic promotion creates a recording that cannot be undone through Grain's documented API. Audio/video responses provide signed PUT instructions, but this action does not transfer media bytes.

Parámetros de entrada

  • includeobject

    Optional data to include in the returned upload.

  • attributesobject

    Metadata for the upload. Required with a transcript when media_type is transcript.

  • media_typestringObligatorioenum

    Type of upload to create.

    videoaudiotranscript
  • auto_promoteboolean

    Whether Grain should automatically promote the completed upload into a recording. Set false to review it while staged and promote it later.

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

Delete HookGRAIN_DELETE_HOOKAcción

Permanently delete one Grain webhook subscription.

Parámetros de entrada

  • hook_idstringObligatoriouuid

    Hook ID returned by GRAIN_CREATE_HOOK or GRAIN_LIST_HOOKS.

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

Download RecordingGRAIN_DOWNLOAD_RECORDINGAcción

Download a recording's original audio or video media through Composio file storage. Use the transcript action instead when transcript text is needed.

Parámetros de entrada

  • recording_idstringObligatoriouuid

    Recording ID whose original audio or video media file to download.

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

Get Connection InfoGRAIN_GET_CONNECTION_INFOAcción

Identify the connected Grain user or workspace and report the connection's authentication type, scope, and expiry without exposing credentials.

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

Get RecordingGRAIN_GET_RECORDINGAcción

Get one Grain recording by ID, optionally including participants, summaries, notes, and other expanded meeting data.

Parámetros de entrada

  • includeobject

    Expanded recording data to include in the response.

  • recording_idstringObligatoriouuid

    Recording ID returned by GRAIN_LIST_RECORDINGS.

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

Get Recording TranscriptGRAIN_GET_RECORDING_TRANSCRIPTAcción

Get a Grain recording transcript as structured speaker segments, plain text, WebVTT, or SRT.

Parámetros de entrada

  • formatstringenum

    Transcript representation: json for timed speaker segments, text for readable prose, vtt for WebVTT captions, or srt for SubRip captions.

    jsontextvttsrt
  • recording_idstringObligatoriouuid

    Recording ID whose transcript to retrieve.

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

Get UploadGRAIN_GET_UPLOADAcción

Get one Grain upload by ID, including its processing status and optional attributes or transcript data.

Parámetros de entrada

  • upload_idstringObligatoriouuid

    Upload ID returned by GRAIN_CREATE_UPLOAD or GRAIN_LIST_UPLOADS.

  • include_attributesboolean

    Whether to include the upload attributes, excluding transcript data.

  • include_transcriptboolean

    Whether to include transcript data in the upload attributes.

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 HooksGRAIN_LIST_HOOKSAcción

List Grain webhook subscriptions, optionally filtering by event type or enabled state.

Parámetros de entrada

  • statestringenum

    Restrict results to enabled or disabled hooks.

    enableddisabled
  • hook_typestringenum

    Restrict results to one webhook event type.

    recording_addedrecording_updatedrecording_deletedhighlight_addedhighlight_updatedhighlight_deletedstory_addedstory_updatedstory_deletedupload_addedupload_updated

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 RecordingsGRAIN_LIST_RECORDINGSAcción

Return one page of recordings visible to the connected Grain user, with optional search filters and expanded meeting data.

Parámetros de entrada

  • cursorstring

    Opaque cursor from a previous response; omit for the first page.

  • filterobject

    Optional filters applied to the recording list.

  • includeobject

    Expanded fields to include on each recording.

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 Reference DataGRAIN_LIST_REFERENCE_DATAAcción

List visible Grain users, teams, or meeting types and return their IDs for recording filters, sharing, and upload metadata.

Parámetros de entrada

  • resource_typestringObligatorioenum

    Reference collection to return: users for user IDs, teams for team IDs, or meeting_types for meeting classification IDs.

    usersteamsmeeting_types

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 UploadsGRAIN_LIST_UPLOADSAcción

Return one page of Grain uploads, optionally filtered by media type and expanded with attributes or transcript data.

Parámetros de entrada

  • cursorstring

    Opaque cursor from a previous response; omit for the first page.

  • media_typestringenum

    Restrict results to one media type.

    videoaudiotranscript
  • include_attributesboolean

    Include upload attributes other than transcript data.

  • include_transcriptboolean

    Include transcript data in each upload's attributes.

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

Promote UploadGRAIN_PROMOTE_UPLOADAcción

Start promotion of a manually staged Grain upload into a recording. This creates a recording and cannot be undone through Grain's documented API.

Parámetros de entrada

  • upload_idstringObligatoriouuid

    Staged upload ID created with auto_promote=false.

  • include_attributesboolean

    Whether to include upload attributes in the response.

  • include_transcriptboolean

    Whether to include transcript data in the response.

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

Update Recording AccessGRAIN_UPDATE_RECORDING_ACCESSAcción

Share a recording with one Grain user or team, or remove that user or team's access.

Parámetros de entrada

  • operationstringObligatorioenum

    Whether to grant or remove the principal's access.

    shareunshare
  • principal_idstringObligatoriouuid

    User or team ID returned by GRAIN_LIST_REFERENCE_DATA.

  • recording_idstringObligatoriouuid

    Recording ID whose access to change.

  • principal_typestringObligatorioenum

    Whether principal_id identifies a Grain user or team.

    userteam

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

Update Recording TagGRAIN_UPDATE_RECORDING_TAGAcción

Add or remove one tag on a Grain recording.

Parámetros de entrada

  • tagstringObligatorio

    Tag made of letters or numbers separated by hyphens.

  • operationstringObligatorioenum

    Whether to add the tag or remove it.

    addremove
  • recording_idstringObligatoriouuid

    Recording ID whose tags to change.

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

Update Recording TitleGRAIN_UPDATE_RECORDING_TITLEAcción

Replace the title of an existing Grain recording.

Parámetros de entrada

  • titlestringObligatorio

    New recording title.

  • recording_idstringObligatoriouuid

    Recording ID to rename.

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

Update UploadGRAIN_UPDATE_UPLOADAcción

Replace attributes on an awaiting or manually staged Grain upload before it is promoted.

Parámetros de entrada

  • upload_idstringObligatoriouuid

    Awaiting or manually staged upload ID to update.

  • attributesobjectObligatorio

    Replacement upload attributes. Omitted attributes are removed or reset by Grain.

  • include_attributesboolean

    Include the updated upload attributes in the response.

  • include_transcriptboolean

    Include transcript data in the response.

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