Repository navigation
Google Sheets
Andreas Michael edited this page Nov 30, 2026
·
2 revisions
The ESN Membership Manager can automatically log every assigned ESNcard to a row in a Google Sheet. This is useful for keeping a unified ledger of both online (Stripe) and manual/in-person sales.
- A Google Cloud Console project with the Google Sheets API enabled.
- Your Google Service Account JSON uploaded and Google Integration enabled in Omnia Settings.
Before configuring the Sheet, you must set up a Google Cloud Project and Service Account in Omnia:
- Follow the Google Services Setup guide to create your Service Account, enable the Google Sheets API, and upload the JSON key in Omnia Settings.
- Create a new Google Sheet (or open your existing sales sheet).
-
Share with Service Account:
- Find the
client_emailof your Service Account (e.g.,esn-manager@project-id.iam.gserviceaccount.com). - Click Share in the Google Sheet.
- Paste the service account email and give it Editor access.
- Without this step, the module cannot write to the sheet.
- Find the
-
Prepare the Columns:
The module appends rows across columns
A:Hwith the following 8 values. Add these headers to the first row of your sheet:
| Date | Name | Card Number | POS | Host | Nationality | MOP | Amount |
|---|---|---|---|---|---|---|---|
dd/mm/yy |
Full Name | ESNcard # | ESN Membership Manager |
Host Institution | Nationality |
Stripe or Manual
|
Price |
Note
For Stripe payments, Amount is automatically fetched from your configured Stripe Price IDs (including any
processing fee). For manually marked payments, MOP is recorded as Manual and Amount as Unknown.
- Ensure Google Integration and your Service Account JSON are configured in Omnia Settings.
- Navigate to the module settings:
/admin/config/system/esn-membership-manager. - Under Enable / Disable Features > Logging, check Enable Google Sheets Integration.
- In the Google Sheets Settings section:
-
Spreadsheet ID:
- Look at the URL of your spreadsheet:
https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit - Copy the long ID string between
/d/and/edit.
- Look at the URL of your spreadsheet:
-
Sheet Name:
- Enter the exact name of the tab where rows should be appended (e.g.,
Data).
- Enter the exact name of the tab where rows should be appended (e.g.,
-
Spreadsheet ID:
- Click Save configuration.