New Row Added
Emit an event each time rows are added to the bottom of a spreadsheet.
Workflow template
Create a CNAME for each approved customer request. Write the outcome back to the same row so your team can see when a name is already in use.
How it works
Emit an event each time rows are added to the bottom of a spreadsheet.
Create a CNAME under the selected parent domain and report a conflict when the requested name is occupied.
Call any Google Sheets API v4 operation with the connected account.
Before activation
Create a tab named Approved with Hostname, Target, Approved and Result in columns A through D. Use fully qualified domain names and append completed rows with Yes in column C.
Select the spreadsheet, the Approved tab, the Cloudflare zone and the parent domain for new customer names. Grant the Sheets connection write access for column D.
Activate the workflow, allow its first poll to finish and append a new approved row. Repeat with an occupied name pointing elsewhere. Column D should show created or conflict, respectively.