As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #3766740
webhooks
Closed

Comments

  • D started the conversation

    Hi, what is the best and free way to connect Amilia Data to Google sheets, is there a tuturial for that?


  •  1,718
    Uroš replied

    Hello,

    To connect Amelia data to Google Sheets, you can use Google Sheets integrations or API-based solutions. Here’s a free method using Google Sheets’ native Google Apps Script feature, combined with Amelia's data export capabilities:

    Steps to Connect Amelia to Google Sheets:
    1. Export Data from Amelia:

      • You can either manually export data from Amelia (such as appointments or customer details) in CSV format or use Amelia's API to fetch the data programmatically. The API provides access to bookings, customers, and other data.
    2. Google Sheets Setup:

      • Open Google Sheets and go to Extensions > Apps Script.
    3. Use Google Apps Script:

      • Write a script in Google Apps Script to fetch and import the data from Amelia’s API into your Google Sheet. Here’s a simple example of how you can set up a script:
       
      function fetchAmeliaData() { var url = 'https://yourwebsite.com/wp-json/amelia/v1/bookings'; // Amelia API URL var options = { 'method': 'get', 'headers': { 'Authorization': 'Bearer your_api_key', // Replace with your API key if needed } }; var response = UrlFetchApp.fetch(url, options); var data = JSON.parse(response.getContentText()); var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Sheet1'); // Adjust the sheet name var row = 2; // Start writing data from row 2 (row 1 being headers) data.forEach(function(booking) { sheet.getRange(row, 1).setValue(booking.customerName); // Example: set customer name in column 1 sheet.getRange(row, 2).setValue(booking.date); // Example: set booking date in column 2 // Add other fields as necessary row++; }); }
      • In the script, replace the URL with your Amelia API endpoint and add the appropriate API keys or authentication method.
    4. Set Up Automatic Sync:

      • You can set up a trigger to run this script on a schedule (e.g., every hour or day) by clicking on the clock icon in Apps Script and setting up a trigger for fetchAmeliaData.
    5. Save and Test:

      • Save the script and run it to ensure that the data is properly populated into your Google Sheet. You should see the booked data or customer details from Amelia.

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables