ogcoin

Google Form + Sheets Integration Guide

🎯 Overview

This system replaces the embedded HTML form with a Google Form that feeds into Google Sheets, making it much easier to manage submissions and run processing scripts locally.

πŸ“ Step 1: Create Google Form

Follow the instructions in google_form_setup.txt:

  1. Go to: https://forms.google.com
  2. Create new form: β€œOGC Airdrop + Open Source Project Funding”
  3. Add the 7 questions as specified in the setup file
  4. Set validation for Stellar addresses and URLs
  5. Configure settings:
    • Collect email addresses: Yes
    • Limit to 1 response: Yes
    • Response receipts: Always

Important Form Settings:

πŸ“Š Step 2: Configure Google Sheets

  1. Go to Responses tab in your Google Form
  2. Click β€œCreate Spreadsheet”
  3. Note the Google Sheets URL (you’ll need this for processing)
  4. Optional: Set up notifications for new responses

πŸ”— Step 3: Update Website

  1. Get your Google Form link:
    • In Google Forms, click β€œSend”
    • Copy the shortened link (forms.gle/…)
  2. Update airdrop.html:
    const GOOGLE_FORM_URL = 'https://forms.gle/YOUR_ACTUAL_FORM_ID';
    
  3. Deploy updated website with new form integration

πŸ€– Step 4: Set Up Local Processing

Install Dependencies:

pip install requests

Processing Commands:

Download and Process Submissions:

python3 google_sheets_handler.py process 'https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID/edit'

Process Local CSV File:

python3 google_sheets_handler.py process-csv submissions.csv

Test with Demo Data:

python3 google_sheets_handler.py demo

πŸ“‹ Step 5: Regular Management Workflow

Daily/Weekly Process:

  1. Download latest submissions:
    python3 google_sheets_handler.py process '[YOUR_SHEET_URL]'
    
  2. Review processing results:
    • βœ… Approved: Ready for airdrop
    • ⏳ Pending: Need trustlines (send instructions)
    • ❌ Rejected: Invalid data (follow up if needed)
  3. Run airdrop for approved recipients:
    python3 airdrop_distribution.py
    
  4. Review funding candidates:
    • Check funding_candidate_projects.csv
    • Select projects for funding support
    • Update website with featured projects

πŸ“ File Structure

tools/
β”œβ”€β”€ google_sheets_handler.py        # Main processing script
β”œβ”€β”€ google_form_setup.txt          # Form creation instructions
β”œβ”€β”€ airdrop_handler.py              # Core validation logic
β”œβ”€β”€ airdrop_distribution.py         # Token distribution
β”œβ”€β”€ submissions.csv                 # Downloaded from Google Sheets
β”œβ”€β”€ processed_submissions.txt       # Tracking processed addresses
β”œβ”€β”€ airdrop_submissions.jsonl       # All submission records
β”œβ”€β”€ funding_candidate_projects.csv  # Projects for review
└── airdrop_recipients.txt          # Final recipient list

πŸ”§ Advanced Features

Custom Processing Rules:

You can modify google_sheets_handler.py to add:

Monitoring:

Backup:

🚨 Security Considerations

  1. Google Sheets Access:
    • Use β€œAnyone with link can view” for public CSV access
    • Or set up Google Sheets API for private access
  2. Data Protection:
    • Don’t commit actual submission data to git
    • Use .gitignore for sensitive files
    • Regular backups of important data
  3. Address Validation:
    • Always validate Stellar addresses
    • Check account existence before sending
    • Verify trustlines are established

πŸ“Š Analytics & Reporting

The system tracks:

Generate Reports:

python3 airdrop_handler.py report

🎯 Benefits of Google Form Integration

  1. Easy Management: No backend infrastructure needed
  2. Professional: Clean, mobile-friendly submission process
  3. Scalable: Handles unlimited submissions
  4. Trackable: Built-in analytics and notifications
  5. Reliable: Google’s infrastructure, 99.9% uptime
  6. Flexible: Easy to modify questions or add new fields

πŸš€ Launch Checklist

πŸ’‘ Tips for Success

  1. Test thoroughly with dummy data before launch
  2. Monitor submissions regularly for processing
  3. Respond quickly to approved participants
  4. Follow up with pending trustline cases
  5. Feature successful projects to encourage participation
  6. Keep statistics on conversion rates and project quality

This system transforms the airdrop from a simple token distribution into a comprehensive open source project discovery and funding pipeline! 🌟