Zoho Analytics connector to Zoho Books - Create Invoices from Data in Analytics

Zoho Analytics connector to Zoho Books - Create Invoices from Data in Analytics

I have created a View in Zoho Analytics that is a summary of "Previous Month" support Hours by "Account Name" - I want to ingest this data into Zoho Books and produce a single invoice for each "Account Name" with each unique TicketID (ROW) as an item [Generic Item Name - Ticket info is Description]. This would stage my invoices in "Draft" so I can verify/send on a monthly basis.
Any ideas here?
I have created the SQL to pull the information from zDesk via my Analytics connection.


SELECT  "Tickets"."Request Id", "Accounts"."Account Name" as "Account Name",CONCAT('Tkt# ', "Tickets"."Request Id", ': ', "Tickets"."Subject") as "Ticket Details", "Tickets"."Status" as "Status",

DATE("Tickets"."Created Time") as "Ticket Created Dt", MAX(DATE("Time Entry"."Created Time")) as "Last Time Entry Dt", sum(round("Time Entry"."Seconds Spent"/60/60,2)) as "Hours Entered"

from "Time Entry"

JOIN "Tickets" ON "Tickets"."ID" = "Time Entry"."Request"

            JOIN "Agent" ON "Time Entry"."Agent" = "Agent"."ID"

            JOIN "Contacts"ON "Tickets"."Contact ID" = "Contacts"."ID"

            JOIN "Accounts" ON "Contacts"."Account ID" = "Accounts"."ID"

            where

DATE("Time Entry"."Created Time")

BETWEEN start_day(month,previous_nmonth(current_date(),1)) AND end_day(month,previous_nmonth(current_date(),1))

GROUP BY "Tickets"."Request Id", "Ticket Details", DATE("Tickets"."Created Time"), "Accounts"."Account Name","Tickets"."Status"

ORDER BY "Tickets"."Request Id" ASC



      • Sticky Posts

      • Announcing Zoho Analytics 6.0 Beta!

        We are delighted to open up the next major version, Zoho Analytics 6.0 Beta! The new version comes packed with a wide range of functionalities for all persona, namely business users, data analysts, data engineers, and data scientists. Zoho Analytics team
      • What's New in Zoho Analytics - August 2024

        Hello Users! We are back with the latest updates and enhancements made to Zoho Analytics. Keep reading to learn more about them. Connect to the data hosted in the cloud without allow-listing the IP addresses Utilize Zoho Databridge to connect to the data
      • We are coming to your city! Zoho Analytics Community Meetup

        Hello, business leaders and data enthusiasts! We are delighted to announce that registrations are now open for the ZUG meetups, and we can't wait for you to be a part of them. Our in-house analytics experts are geared up to lead discussions on constructing
      • Zoho Analytics: 2021 Look Back

        As we start a new year in 2022, here's some of our top moments from 2021. Zoho Analytics in 2021
      • [Customer Talk] PREMO Group's Analyst Interview at Zoho Day 2022

        Premo Group, a 50 year old Spanish Manufacturing Company, has been our long-standing customer with #ZohoAnalytics. They've been using our platform for their end-to-end, unified business analytics solution.  Hear more from Claudio Cabeza, Director at PREMO