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 eventdataobjectEvent 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 typeuser_idstringUser UUID who triggered the eventdataobjectidstringRecording UUIDtitlestringRecording titlestart_datetimestringISO8601 start timestampend_datetimestringISO8601 end timestampduration_msnumberDuration in millisecondsmedia_typestringaudio, transcript, or videosourcestringRecording source (zoom, meet, local_capture, etc.)urlstringURL to view in Grainthumbnail_urlstringThumbnail URL (nullable)tagsarrayArray of tag stringsteamsarrayArray of team objectsmeeting_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 typeuser_idstringUser UUID who triggered the eventdataobjectidstringRecording UUIDtitlestringRecording titlestart_datetimestringISO8601 start timestampend_datetimestringISO8601 end timestampduration_msnumberDuration in millisecondsmedia_typestringaudio, transcript, or videosourcestringRecording source (zoom, meet, local_capture, etc.)urlstringURL to view in Grainthumbnail_urlstringThumbnail URL (nullable)tagsarrayArray of tag stringsteamsarrayArray of team objectsmeeting_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 typeuser_idstringUser UUID who triggered the eventdataobjectidstringHighlight UUIDrecording_idstringParent recording UUIDtextstringHighlight title/descriptiontranscriptstringTranscript text of the clipspeakersarrayArray of speaker namestimestampnumberStart timestamp in msdurationnumberDuration in mstagsarrayArray of tag stringsurlstringURL to view in Grainthumbnail_urlstringThumbnail URLcreated_datetimestringISO8601 creation timestampGrain 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 typeuser_idstringUser UUID who triggered the eventdataobjectidstringHighlight UUIDrecording_idstringParent recording UUIDtextstringHighlight title/descriptiontranscriptstringTranscript text of the clipspeakersarrayArray of speaker namestimestampnumberStart timestamp in msdurationnumberDuration in mstagsarrayArray of tag stringsurlstringURL to view in Grainthumbnail_urlstringThumbnail URLcreated_datetimestringISO8601 creation timestampGrain 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 typeuser_idstringUser UUID who triggered the eventdataobjectidstringStory UUIDtitlestringStory titleurlstringURL to view in Graincreated_datetimestringISO8601 creation timestamp