Paste your Google Apps Script Web App URL to sync all submissions live to a Google Sheet.
The Dashboard will read directly from the sheet.
Steps: Google Sheet → Extensions → Apps Script → paste the provided code → Deploy as Web App → copy URL here.
📝 Submit Feedback
📊 Dashboard / Log
📅 Google Sheet
⚙️ Setup & Connect
🔒 Admin
📥
US to India — Feedback Form
For US stakeholders and managers to provide structured feedback on India team performance, quality, and collaboration. All feedback is logged and reviewed weekly by India HR.
✅
Positive
Great work, recognition
📈
Development
Coaching needed
⚠️
High Urgency
Needs attention soon
🚨
Critical
Immediate action needed
1 Poor
2 Below
3 Meets
4 Exceeds
5 Outstanding
✅
Feedback Submitted
Your feedback has been recorded. If marked Critical or High Urgency, Kavita Srivastava and Vaibhav Gupta will be notified within 24 hours.
In your Google Sheet, click Extensions → Apps Script.
Delete all the existing code in the editor.
Copy the entire script below and paste it in.
Then click Deploy → New deployment → Web app.
Set Execute as: Me and Who has access: Anyone. Click Deploy and copy the Web App URL shown.
Google Apps Script / Code.gs
// Commure India Feedback Matrix — Google Apps Script
// Paste this into Extensions > Apps Script in your Google Sheet
// Then: Deploy > New deployment > Web app
// Execute as: Me | Who has access: Anyone
const SHEET_NAME = 'Feedback';
function doGet(e) {
const action = e.parameter.action || '';
if (action === 'ping') {
return json({ status: 'ok' });
}
if (action === 'append') {
try {
const data = JSON.parse(e.parameter.data || '{}');
appendRow(data);
return json({ success: true });
} catch (err) {
return json({ error: err.toString() });
}
}
if (action === 'read') {
return json({ entries: readRows() });
}
return json({ error: 'Unknown action' });
}
function doPost(e) { return doGet(e); }
function json(obj) {
return ContentService
.createTextOutput(JSON.stringify(obj))
.setMimeType(ContentService.MimeType.JSON);
}
function ensureHeaders(sheet) {
if (sheet.getLastRow() === 0) {
const headers = [
'ID', 'Timestamp', 'Name', 'Role', 'Department',
'Employee', 'Type', 'Rating', 'Feedback',
'Action Required', 'Deadline', 'Status', 'ISO Date'
];
sheet.appendRow(headers);
const hRange = sheet.getRange(1, 1, 1, headers.length);
hRange.setFontWeight('bold')
.setBackground('#1A2E52')
.setFontColor('#FFFFFF');
sheet.setFrozenRows(1);
sheet.setColumnWidth(9, 420);
}
}
function appendRow(data) {
const ss = SpreadsheetApp.getActiveSpreadsheet();
let sheet = ss.getSheetByName(SHEET_NAME);
if (!sheet) sheet = ss.insertSheet(SHEET_NAME);
ensureHeaders(sheet);
sheet.appendRow([
data.id || '',
data.timestamp || new Date().toLocaleString(),
data.name || '',
data.role || '',
data.dept || '',
data.employee || '',
data.type || '',
data.rating || '',
data.feedback || '',
data.action || '',
data.deadline || '',
data.status || 'Open',
data.isoDate || new Date().toISOString()
]);
// Colour-code rows by feedback type
const row = sheet.getLastRow();
const colours = {
critical: '#FEE2E2',
high: '#FEF3C7',
development: '#ECFEFF',
positive: '#D1FAE5'
};
const bg = colours[data.type] || '#FFFFFF';
sheet.getRange(row, 1, 1, 13).setBackground(bg);
}
function readRows() {
const ss = SpreadsheetApp.getActiveSpreadsheet();
const sheet = ss.getSheetByName(SHEET_NAME);
if (!sheet || sheet.getLastRow() < 2) return [];
const data = sheet.getRange(2, 1, sheet.getLastRow() - 1, 13).getValues();
const keys = [
'id', 'timestamp', 'name', 'role', 'dept', 'employee',
'type', 'rating', 'feedback', 'action', 'deadline', 'status', 'isoDate'
];
return data
.map(row => {
const obj = {};
keys.forEach((k, i) => { obj[k] = String(row[i] || ''); });
return obj;
})
.filter(r => r.id);
}
3
Paste the Web App URL below
After deploying, Google will show you a Web App URL (starts with https://script.google.com/macros/s/…/exec). Paste it here and click Connect.
4
Embed the sheet in the Google Sheet tab
In your Google Sheet: File → Share → Publish to web → Entire Document → Web page → Publish. Copy that URL and paste it below.
📋 Current Connection Status
📄 Google Apps Script Code
Steps to connect your Google Sheet:
1. Open your Google Sheet (create one if needed)
2. Click Extensions → Apps Script
3. Delete existing code and paste the code below
4. Click Deploy → New deployment → Web app
5. Set Execute as: Me and Who has access: Anyone
6. Copy the Web App URL and paste it in the setup banner above