@extends('layouts.app', ['title' => __tr('Google Sheets App Script')])
@section('content')
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:
- Open your Google Sheet
- Click on Extensions > Apps Script
- Replace all content in the script editor with the code below
- Save the project (give it a name like "WhatsApp Integration")
- Return to your spreadsheet and refresh the page
- You'll see a new menu item "API Integration"
- Click "Start Monitoring" to begin tracking new rows
@endsection