Templates / Generate Google Sheets test script from Pega Agile Studio user stories with AI

Generate Google Sheets test script from Pega Agile Studio user stories with AI

Ready for 3.0

by Richard Nijsten ✓ · 152 views · created 2026-01-29 · Engineering, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs when a chat message arrives. Along the way it connects Google Gemini Chat Model and Google Sheets.

How it runs

Trigger: When a chat message arrives.

  1. Retrieve the US from Pega Agile Studio (HTTP Request): calls an HTTP API
  2. IterateOverAccCrit (Split Out): splits a list into separate items
  3. AI: Create testcases (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
  4. Create spreadsheet for the testscript (Google Sheets): work with spreadsheet
  5. AddNumbersToAccCrit (Code): runs custom JavaScript code
  6. Code: runs custom JavaScript code
  7. Add column headers for the first sheet (HTTP Request): calls an HTTP API (PUT)
  8. Add column headers for the second sheet (HTTP Request): calls an HTTP API (PUT)
  9. Merge: merges the data from its input branches
  10. Merge: merges the data from its input branches

…plus 7 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelGoogle Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Generate Google Spreadsheets Testscript with AI using Pega Agile Studio When working as a functional Pega Software tester, this workflow will create a Google Spreadsheet with acceptance criteria and testcases based on the Pega Agile Studio userstory provided.…

Excerpt from Richard Nijsten's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.