Amara clubhouse

Take YourAmara LifestyleDesign Poll

Help us create the community experience you deserve. Share your preferences and shape the future of Amara living.

Question 1 of 15 7%

Thank You!

Your responses have been recorded. Together, we're shaping the future of Amara living.

Poll Analytics

Google Sheets Webhook

Automatically send new poll submissions to a Google Sheet. Paste your Google Apps Script Web App URL below.

Setup Instructions:
  1. Open Google Sheets and create a new spreadsheet
  2. Go to Extensions → Apps Script
  3. Replace the code with:
    function doPost(e) {
      var data = JSON.parse(e.postData.contents || '{}');
      var ss = SpreadsheetApp.getActiveSpreadsheet();
      var tab = (data.poll_name || 'Unsorted').substring(0,99);
      var sh = ss.getSheetByName(tab) || ss.insertSheet(tab);
      var headers = Object.keys(data);
      if (sh.getLastRow() === 0) sh.appendRow(headers);
      var row = headers.map(function(k){return Array.isArray(data[k]) ? data[k].join('; ') : data[k];});
      sh.appendRow(row);
      return ContentService.createTextOutput('OK');
    }
  4. Click Deploy → New deployment
  5. Select Web app, set access to Anyone, and deploy
  6. Copy the Web App URL and paste it above