Grain

Available Grain triggers for automating workflows

Grain provides 8 triggers for automating workflows based on events.

Triggers

Grain All Events

Trigger on all actions (added, updated, removed) in a Grain view

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Grain.
viewIdstringYesThe view determines which content type fires events (recordings, highlights, or stories).

Output

ParameterTypeDescription
typestringEvent type (e.g., recording_added)
user_idstringUser UUID who triggered the event
dataobjectEvent data object (recording, highlight, etc.)

Grain Highlight Created

Trigger workflow when a new highlight/clip is created in Grain

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Grain.
viewIdstringYesRequired by Grain to create the webhook subscription.

Output

ParameterTypeDescription
typestringEvent type
user_idstringUser UUID who triggered the event
dataobjectdata output from the tool
idstringHighlight UUID
recording_idstringParent recording UUID
textstringHighlight title/description
transcriptstringTranscript text of the clip
speakersarrayArray of speaker names
timestampnumberStart timestamp in ms
durationnumberDuration in ms
tagsarrayArray of tag strings
urlstringURL to view in Grain
thumbnail_urlstringThumbnail URL
created_datetimestringISO8601 creation timestamp

Grain Highlight Updated

Trigger workflow when a highlight/clip is updated in Grain

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Grain.
viewIdstringYesRequired by Grain to create the webhook subscription.

Output

ParameterTypeDescription
typestringEvent type
user_idstringUser UUID who triggered the event
dataobjectdata output from the tool
idstringHighlight UUID
recording_idstringParent recording UUID
textstringHighlight title/description
transcriptstringTranscript text of the clip
speakersarrayArray of speaker names
timestampnumberStart timestamp in ms
durationnumberDuration in ms
tagsarrayArray of tag strings
urlstringURL to view in Grain
thumbnail_urlstringThumbnail URL
created_datetimestringISO8601 creation timestamp

Grain Item Added

Trigger when a new item is added to a Grain view (recording, highlight, or story)

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Grain.
viewIdstringYesThe view determines which content type fires events (recordings, highlights, or stories).

Output

ParameterTypeDescription
typestringEvent type (e.g., recording_added)
user_idstringUser UUID who triggered the event
dataobjectEvent data object (recording, highlight, etc.)

Grain Item Updated

Trigger when an item is updated in a Grain view (recording, highlight, or story)

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Grain.
viewIdstringYesThe view determines which content type fires events (recordings, highlights, or stories).

Output

ParameterTypeDescription
typestringEvent type (e.g., recording_added)
user_idstringUser UUID who triggered the event
dataobjectEvent data object (recording, highlight, etc.)

Grain Recording Created

Trigger workflow when a new recording is added in Grain

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Grain.
viewIdstringYesRequired by Grain to create the webhook subscription.

Output

ParameterTypeDescription
typestringEvent type
user_idstringUser UUID who triggered the event
dataobjectdata output from the tool
idstringRecording UUID
titlestringRecording title
start_datetimestringISO8601 start timestamp
end_datetimestringISO8601 end timestamp
duration_msnumberDuration in milliseconds
media_typestringaudio, transcript, or video
sourcestringRecording source (zoom, meet, local_capture, etc.)
urlstringURL to view in Grain
thumbnail_urlstringThumbnail URL (nullable)
tagsarrayArray of tag strings
teamsarrayArray of team objects
meeting_typeobjectMeeting type info with id, name, scope (nullable)

Grain Recording Updated

Trigger workflow when a recording is updated in Grain

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Grain.
viewIdstringYesRequired by Grain to create the webhook subscription.

Output

ParameterTypeDescription
typestringEvent type
user_idstringUser UUID who triggered the event
dataobjectdata output from the tool
idstringRecording UUID
titlestringRecording title
start_datetimestringISO8601 start timestamp
end_datetimestringISO8601 end timestamp
duration_msnumberDuration in milliseconds
media_typestringaudio, transcript, or video
sourcestringRecording source (zoom, meet, local_capture, etc.)
urlstringURL to view in Grain
thumbnail_urlstringThumbnail URL (nullable)
tagsarrayArray of tag strings
teamsarrayArray of team objects
meeting_typeobjectMeeting type info with id, name, scope (nullable)

Grain Story Created

Trigger workflow when a new story is created in Grain

Configuration

ParameterTypeRequiredDescription
apiKeystringYesRequired to create the webhook in Grain.
viewIdstringYesRequired by Grain to create the webhook subscription.

Output

ParameterTypeDescription
typestringEvent type
user_idstringUser UUID who triggered the event
dataobjectdata output from the tool
idstringStory UUID
titlestringStory title
urlstringURL to view in Grain
created_datetimestringISO8601 creation timestamp

On this page