@extends('layouts.app', ['title' => __tr('Google Sheets App Script')]) @section('content')
Google Sheets Integration Script Generate Another
Script Configuration:
  • Template Name: {{ $templateName }}
  • Template Language: {{ $templateLanguage }}
  • Phone Column Index: {{ $phoneColumnIndex }} (Column {{ chr(65 + $phoneColumnIndex) }})
  • @if(count($customFields) > 0)
  • Custom Fields:
      @foreach($customFields as $index => $columnIndex)
    • field_{{ $index + 1 }}: Column {{ chr(65 + $columnIndex) }} (Index: {{ $columnIndex }})
    • @endforeach
  • @endif
Instructions:
  1. Open your Google Sheet
  2. Click on Extensions > Apps Script
  3. Replace all content in the script editor with the code below
  4. Save the project (give it a name like "WhatsApp Integration")
  5. Return to your spreadsheet and refresh the page
  6. You'll see a new menu item "API Integration"
  7. Click "Start Monitoring" to begin tracking new rows
@endsection