StyloDocs
Workflow blocks

Grain

Grain integration operations.

View as Markdown

grain — Grain integration operations.

Where it appears

The Grain block lives in the Integrations group of the Workflow Builder. Connect the Grain integration before adding it.

Fields

FieldTypeRequiredDefaultDescription
resourceselectYesgrainWhich Grain resource to work with. Options: grain.
operationselectYesWhich action to perform on the selected resource.
hookUrltext (supports references)YesHook Url. Use a literal value or <StepName.field> to reference a value from a previous step.
viewIdtext (supports references)YesView Id. Use a literal value or <StepName.field> to reference a value from a previous step.
actionstext (supports references)NoActions. Use a literal value or <StepName.field> to reference a value from a previous step.
hookIdtext (supports references)YesHook Id. Use a literal value or <StepName.field> to reference a value from a previous step.
recordingIdtext (supports references)YesRecording Id. Use a literal value or <StepName.field> to reference a value from a previous step.
includeHighlightstoggleNofalseWhen on, enables include highlights. Defaults to off.
includeParticipantstoggleNofalseWhen on, enables include participants. Defaults to off.
includeAiSummarytoggleNofalseWhen on, enables include ai summary. Defaults to off.
includeCalendarEventtoggleNofalseWhen on, enables include calendar event. Defaults to off.
includeHubspottoggleNofalseWhen on, enables include hubspot. Defaults to off.
cursortext (supports references)NoCursor. Use a literal value or <StepName.field> to reference a value from a previous step.
beforeDatetimetext (supports references)NoBefore Datetime. Use a literal value or <StepName.field> to reference a value from a previous step.
afterDatetimetext (supports references)NoAfter Datetime. Use a literal value or <StepName.field> to reference a value from a previous step.
participantScopetext (supports references)NoParticipant Scope. Use a literal value or <StepName.field> to reference a value from a previous step.
titleSearchtext (supports references)NoTitle Search. Use a literal value or <StepName.field> to reference a value from a previous step.
teamIdtext (supports references)NoTeam Id. Use a literal value or <StepName.field> to reference a value from a previous step.
meetingTypeIdtext (supports references)NoMeeting Type Id. Use a literal value or <StepName.field> to reference a value from a previous step.
typeFiltertext (supports references)NoType Filter. Use a literal value or <StepName.field> to reference a value from a previous step.

Inputs and outputs

Inputs are the configurable fields above. The block produces these outputs:

Outputs

Reference an output downstream with <Grain.field>.

NameTypeDescription
idstringId returned by the operation.
enabledbooleanEnabled returned by the operation.
hook_urlstringHook Url returned by the operation.
view_idstringView Id returned by the operation.
actionsarrayActions returned by the operation.
inserted_atstringInserted At returned by the operation.
successbooleanSuccess returned by the operation.
titlestringTitle returned by the operation.
start_datetimestringStart Datetime returned by the operation.
end_datetimestringEnd Datetime returned by the operation.
duration_msnumberDuration Ms returned by the operation.
media_typestringMedia Type returned by the operation.
sourcestringSource returned by the operation.
urlstringUrl returned by the operation.
thumbnail_urlstringThumbnail Url returned by the operation.
tagsarrayTags returned by the operation.
teamsarrayTeams returned by the operation.
meeting_typejsonMeeting Type returned by the operation.
highlightsarrayHighlights returned by the operation.
participantsarrayParticipants returned by the operation.
ai_summaryjsonAi Summary returned by the operation.
calendar_eventjsonCalendar Event returned by the operation.
hubspotjsonHubspot returned by the operation.
transcriptarrayTranscript returned by the operation.
hooksarrayHooks returned by the operation.
meeting_typesarrayMeeting Types returned by the operation.
recordingsarrayRecordings returned by the operation.
cursorstringCursor returned by the operation.
viewsarrayViews returned by the operation.

Example

A minimal configuration for this block:

{
  "type": "grain",
  "config": {
    "resource": "grain",
    "operation": "...",
    "hookUrl": "<PreviousStep.field>",
    "viewId": "<PreviousStep.field>",
    "hookId": "<PreviousStep.field>",
    "recordingId": "<PreviousStep.field>",
    "includeHighlights": false,
    "includeParticipants": false,
    "includeAiSummary": false,
    "includeCalendarEvent": false,
    "includeHubspot": false
  }
}

Limits and failure modes

  • Requires a connected Grain integration. Calls fail if that integration is disconnected or its authorization has expired.
  • Required fields (resource, operation, hookUrl, viewId, hookId, recordingId) must be set, or the block fails validation before it runs.

On this page