Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Google Software

Google Docs Gets an API For Task Automation (techcrunch.com) 35

An anonymous reader quotes a report from TechCrunch: Google today announced the general availability of a new API for Google Docs that will allow developers to automate many of the tasks that users typically do manually in the company's online office suite. The API has been in developer preview since last April's Google Cloud Next 2018 and is now available to all developers. As Google notes, the REST API was designed to help developers build workflow automation services for their users, build content management services and create documents in bulk. Using the API, developers can also set up processes that manipulate documents after the fact to update them, and the API also features the ability to insert, delete, move, merge and format text, insert inline images and work with lists, among other things.

The canonical use case here is invoicing, where you need to regularly create similar documents with ever-changing order numbers and line items based on information from third-party systems (or maybe even just a Google Sheet). Google also notes that the API's import/export abilities allow you to use Docs for internal content management systems.

This discussion has been archived. No new comments can be posted.

Google Docs Gets an API For Task Automation

Comments Filter:
  • by Anonymous Coward on Monday February 11, 2019 @08:14PM (#58107106)

    ... until two weeks later, when they casually mention in a blog post somewhere that they have removed it.

    • They're already working on an API for removing it automatically.

      • They'll have a framework for that API to automatically remove uses of the replaced API, the framework however will require the use of a new programming language of which they've got a handy SDK for converting Go, C++, and Java into the new programming language which then "compiles" into a 126MB JavaScript blob.

        • They already did all that, but they accidentally ran it on itself.

          You want proof? Well it's not there any more, is it?

  • by Anonymous Coward

    Google Docs gets malware macros. Welcome to the big leagues! What could possible go wrong?

    • Well, someone could write an anti-virus program in JavaScript, which would then subsequently exhaust the entirety of the world's computing resources. Poof, no more bitcoin. Sound bad enough?

  • by Voyager529 ( 1363959 ) <.voyager529. .at. .yahoo.com.> on Monday February 11, 2019 @11:06PM (#58107586)

    This sounds like a "Macro" with more steps. Welcome to the 1980's.

  • Rant..
    Invoices are generated by a computer and then get typed into the receivers computer by a human. Super inefficient and prone to error. Invoices need to be electronic and this needed to happen years ago. Iâ(TM)m not talking about special cases for big business. This is a small business problem and needs to happen in atime ftware such as quickbooks without vendor lock-in.

    • by Mr.No ( 752782 )

      Rant.. Invoices are generated by a computer and then get typed into the receivers computer by a human. Super inefficient and prone to error. Invoices need to be electronic and this needed to happen years ago. Iâ(TM)m not talking about special cases for big business. This is a small business problem and needs to happen in atime ftware such as quickbooks without vendor lock-in.

      Exactly. More than 30 years after the usage of computers in most businesses it is shocking to see 100 pages invoices being sent as PDF files and then some other company either typing them into their accounting system or attempt to OCR, push into Excel and then process. Why can't the business analysts, IT people and accounting department sit around a table? The generation of the initial PDF should surely come from an accounting system isn't it?

      • Normally you have to work with real paper when real signatures are required. There is no digital alternative to a real signature.
      • It would require to systems staff of both companies to have a ten minute chat to work out suitable format that can be emailed or uploaded to the other and then parsed into the accounting system.

        I doubt this happens very much because the amount of people who have understanding or control of the systems to the extent required is limited, especially since the push to the cloud with access via api and or third parties only and simplified user interfaces which no longer required a systems team. Ie outsourcing m

  • Well, it is Google, only a matter of time

    They could save themselves the hassle and just Jill it off now to be honest.

  • After looking at some code samples in the documentation - I'd rather go back in time to the 90's and work with MSOffice and VBA.
  • ... but changes all the options

  • Wow, other office suites do this with regular programming but Google does it with "AI"! That's progress!
  • Every few years, I end up talking to some poor schlub who has reinvented relational databases. Badly.

    It's not their fault, some of the folks are pretty smart. They just don't know. Anyway, Google just enabled another menagerie of eldritch cross-referencing nightmares.

This file will self-destruct in five minutes.

Working...