Grain Trigger

Generic webhook trigger for all Grain events

Generic webhook trigger for all Grain events

This is a webhook-based trigger. Configure the external service to send events to the workflow webhook URL.

Events

Grain Webhook

Generic webhook trigger for all Grain events

Setup Instructions

1. Enter your Grain API Key (Personal Access Token) above.
2. You can find or create your API key in Grain at Settings > Integrations > API.
3. Click "Save Configuration" to automatically create the webhook in Grain for All events events.
4. The webhook will be automatically deleted when you remove this trigger.
API Key*
••••••••
Required to create the webhook in Grain.

Output Schema

Event Payload
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

Setup Instructions

1. Enter your Grain API Key (Personal Access Token) above.
2. You can find or create your API key in Grain at Settings > Integrations > API.
3. Click "Save Configuration" to automatically create the webhook in Grain for Recording (new) events.
4. The webhook will be automatically deleted when you remove this trigger.
API Key*
••••••••
Required to create the webhook in Grain.

Output Schema

Event Payload
typestringEvent type
user_idstringUser UUID who triggered the event
dataobject
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

Setup Instructions

1. Enter your Grain API Key (Personal Access Token) above.
2. You can find or create your API key in Grain at Settings > Integrations > API.
3. Click "Save Configuration" to automatically create the webhook in Grain for Recording (updated) events.
4. The webhook will be automatically deleted when you remove this trigger.
API Key*
••••••••
Required to create the webhook in Grain.

Output Schema

Event Payload
typestringEvent type
user_idstringUser UUID who triggered the event
dataobject
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 Highlight Created

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

Setup Instructions

1. Enter your Grain API Key (Personal Access Token) above.
2. You can find or create your API key in Grain at Settings > Integrations > API.
3. Click "Save Configuration" to automatically create the webhook in Grain for Highlight (new) events.
4. The webhook will be automatically deleted when you remove this trigger.
API Key*
••••••••
Required to create the webhook in Grain.

Output Schema

Event Payload
typestringEvent type
user_idstringUser UUID who triggered the event
dataobject
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

Setup Instructions

1. Enter your Grain API Key (Personal Access Token) above.
2. You can find or create your API key in Grain at Settings > Integrations > API.
3. Click "Save Configuration" to automatically create the webhook in Grain for Highlight (updated) events.
4. The webhook will be automatically deleted when you remove this trigger.
API Key*
••••••••
Required to create the webhook in Grain.

Output Schema

Event Payload
typestringEvent type
user_idstringUser UUID who triggered the event
dataobject
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 Story Created

Trigger workflow when a new story is created in Grain

Setup Instructions

1. Enter your Grain API Key (Personal Access Token) above.
2. You can find or create your API key in Grain at Settings > Integrations > API.
3. Click "Save Configuration" to automatically create the webhook in Grain for Story (new) events.
4. The webhook will be automatically deleted when you remove this trigger.
API Key*
••••••••
Required to create the webhook in Grain.

Output Schema

Event Payload
typestringEvent type
user_idstringUser UUID who triggered the event
dataobject
idstringStory UUID
titlestringStory title
urlstringURL to view in Grain
created_datetimestringISO8601 creation timestamp