Actions9
- Export Actions
- Project Actions
- Workspace Actions
Project → Get Latest Commit
AI-generatedSummary
Get the latest commit of a selected project
Inputs
- projectId (required) — Select a project from the list or enter its grid ID.
Output shape
An object containing the project identifier and its latest commit details (revisionId, message, author, createdAt, files).
Returns a single record; if no commits exist an error is thrown; no pagination.
Examples
Example 1: Fetch the latest commit for a chosen project
projectId = 'grid:workspace:123:design:project/456'
Example 2: Include commit metadata in a downstream workflow
projectId selected via list, operation set to Get Latest Commit
Example 3: Handle missing commits gracefully with continueOnFail
projectId provided, operation set; if no commits, node returns error unless continueOnFail enabled