Category Archives: Google Developers Blog

News and insights on Google platforms, tools and events

Extend Google Apps Script with your API library to empower users

Posted by Keith Einstein, Product Manager

Banner image that shows the Cloud Task logo

Google is proud to announce the availability of the DocuSign API library for Google Apps Script. This newly created library gives all Apps Script users access to the more than 400 endpoints DocuSign has to offer so they can build digital signatures into their custom solutions and workflows within Google Workspace.

The Google Workspace Ecosystem

Last week at Google Cloud Next ‘21, in the session “How Miro, DocuSign, Adobe and Atlassian are helping organizations centralize their work”, we showcased a few partner integrations called add-ons, found on Google Workspace Marketplace. The Google Workspace Marketplace helps developers connect with the more than 3 billion people who use Google Workspace—with a stunning 4.8 billion apps installed to date. That incredible demand is fueling innovation in the ecosystem, and we now have more than 5,300 public apps available in the Google Workspace Marketplace, plus thousands more private apps that customers have built for themselves. As a developer, one of the benefits of an add-on is that it allows you to surface your application in a user-friendly manner that helps people reclaim their time, work more efficiently, and adds another touchpoint for them to engage with your product. While building an add-on enables users to frictionlessly engage with your product from within Google Workspace, to truly unlock limitless potential innovative companies like DocuSign are beginning to empower users to build the unique solutions they need by providing them with a Google Apps Script Library.

Apps Script enables Google Workspace customization

Many users are currently unlocking the power of Google Apps Script by creating the solutions and automations they need to help them reclaim precious time. Publishing a Google Apps Script Library is another great opportunity to bring a product into Google Workspace and gain access to those creators. It gives your users more choices in how they integrate your product into Google Workspace, which in turn empowers them with the flexibility to solve more business challenges with your product’s unique value.

Apps Script libraries can make the development and maintenance of a script more convenient by enabling users to take advantage of pre-built functionality and focus on the aspects that unlock unique value. This allows innovative companies to make available a variety of functionality that Apps Script users can use to create custom solutions and workflows with the features not found in an off-the-shelf app integration like a Google Workspace Add-on or Google Chat application.

The DocuSign API Library for Apps Script

One of the partners we showcased at Google Cloud Next ‘21 was DocuSign. The DocuSign eSignature for Google Workspace add-on has been installed almost two-million times. The add-on allows you to collect signatures or sign agreements from inside Gmail, Google Drive or Google Docs. While collecting signatures and signing agreements are some of the most common areas in which a user would use DocuSign eSignature inside Google Workspace, there are many more features to DocuSign’s eSignature product. In fact, their eSignature API has over 400 endpoints. Being able to go beyond those top features normally found in an add-on and into the rest of the functionality of DocuSign eSignature is where an Apps Script Library can be leveraged.

And that’s exactly what we’re partnering to do. Recently, DocuSign’s Lead API Product Manager, Jeremy Glassenberg (a Google Developer Expert for Google Workspace) joined us on the Totally Unscripted podcast to talk about DocuSign’s path to creating an Apps Script Library. At the DocuSign Developer Conference, on October 27th, Jeremy will be teaming up with Christian Schalk from our Google Cloud Developer Relations team to launch the DocuSign Apps Script Library and showcase how it can be used.

With the DocuSign Apps Script Library, users around the world who lean on Apps Script to build their workplace automations can create customized DocuSign eSignature processes. Leveraging the Apps Script Library in addition to the DocuSign add-on empowers companies who use both DocuSign and Google Workspace to have a more seamless workflow, increasing efficiency and productivity. The add-on allows customers to integrate the solution instantly into their Google apps, and solve for the most common use cases. The Apps Script Library allows users to go deep and solve for the specialized use cases where a single team (or knowledge worker) may need to tap into a less commonly used feature to create a unique solution.

See us at the DocuSign Developer Conference

The DocuSign Apps Script Library is now available in beta and if you’d like to know more about it drop a message to [email protected]. And be sure to register for the session on "Building a DocuSign Apps Script Library with Google Cloud", Oct 27th @ 10:00 AM. For updates and news like this about the Google Workspace platform, please subscribe to our developer newsletter.

Google Smart Home Developer Summit – New tools and features to build, innovate, and grow with Google

Posted by Michele Turner, Senior Director of Product for Google’s Smart Home Ecosystem

Google Smart Home Developer Summit

Earlier this year at Google I/O, we told you that our goal is to make Google the best place for smart home developers like you to build, innovate, and grow. Today, I'm excited to show you all the new ways we're improving the tools and opportunities you'll have to build you best experiences with Google, by:

  • Expanding our platform and tools to make it easier for you to learn and build devices that do more with Google.
  • Providing a site where you can preview the new tools that are coming over the next year to help you build your devices, apps, and integrations.
  • Supporting Matter & Thread across our entire ecosystem, including Nest and Android.
  • Developing more automation capabilities, including the ability to build suggested routines for your users.
  • Helping you differentiate with Google and connect to more users.

(re) Introducing “Google Home”

Our journey as an ecosystem started five years ago with the Google Home speaker and Google Assistant. It has grown into a powerful platform, with support for new smart speakers and displays, Android, Nest, and the Google Home app. It also includes an ecosystem of tens of thousands of devices made by partners and developers like you, enabling Google users to engage with over 200 million devices, and making the smart home more than the sum of its parts.

We’re bringing all of this together, and announcing a new, but familiar name, for our entire smart home platform and developer program, that helps users and developers do more with Google – Google Home. By bringing our platform and tools under the same roof, it gives us a simpler way to show you why and how integrating your devices with Google Home makes them more accessible and helpful across the Google ecosystem.

New Google Home Developer Center

Launching early next year, you’ll have access to our new Google Home Developer Center that will have everything you need to learn and build smart home devices, applications, and automations with Google. It’s a total redesign of our developer site and console, focused on major upgrades to navigation, and new self-serve tools for both developers and their business teams.

The developer center will have tools for each step of development, deployment, and analytics, including:

  • Building Matter devices
  • Customizing setup of your devices in Android and the Google Home app
  • Creating automations and routines
  • Building Android apps with Matter
  • Testing and certification
  • New tools for analytics & performance monitoring
image of Smart Home Developer Center

Quickly build and integrate with Matter

One of the most important new capabilities we’re bringing to our developers is the ability to quickly build and integrate Matter devices. We’re continuing to collaborate with other leading and innovative companies from across the industry to develop Matter — the new, universal, open smart home application protocol that makes it easy to build, buy, and set up smart home devices with any Matter ecosystem or app. We’re also adding Matter as a powerful new way to connect your devices to Google Home and your Android apps.

To make sure users are ready for your Matter devices, we’ll update Nest and Android devices with Matter support, following the launch of the new standards. That means when you build devices with Matter, they can be easily set up and controlled by millions of users everywhere they interact with Google, including Nest speakers and displays, the Google Assistant, and of course Android devices. To make sure you’re ready to build your best Matter-enabled experiences with Google, we’re adding support for Matter in the Google Home Developer Center, and rolling out new tools for Matter development across Google Home and Android, including two new SDKs.

New Google Home Device SDK for Matter devices

The first is the Google Home Device SDK — the fastest way to develop Matter devices, enabling seamless setup, control, and interoperability.

The open source Matter specification and SDK will ensure everyone is starting from the same code base. But building innovative, quality experiences goes beyond sharing the same connectivity protocol. The Google Home Device SDK complements the open-source libraries and simplifies building Matter devices to work seamlessly with Google, including configuring your device with Assistant, improving quality with logging, and adding tools to interact and test with Google devices. This helps you build a more responsive, reliable end-to-end experience for users. We’ll also be adding new capabilities that allow you to innovate with the SDK.

To make your development even easier, we’re also delivering the Google Home IDE to build your smart home devices and connect them to Google in a familiar way. For developers using Visual Studio Code to develop smart home devices, you can easily leverage our tools in that environment by installing the new Google Home IDE, which complements your existing extensions and tools in this popular editor.

Visual studio code

Native Android Support via Google Play Services and a new Google Home Mobile SDK

Mobile devices are an important smart home tool for users, and are critical to how users set up, manage, and control the devices in their home. To make app experiences more seamless, and help your users experience the magic of your device as quickly as possible, we’re building Matter directly into Android, and announcing support for Matter through Google Play services.

One of the key benefits this enables is seamless Matter device setup flows in Android, letting users connect new Matter devices over WiFi and Thread as easily as a new pair of headphones. You’ll be able to customize that setup flow with branding and device descriptions. With just a few taps, users will be able to link your devices to your app, the Google Home app, and other Matter apps they’ve installed. Of course, when users connect your device to Google, it automatically shows up in the Google Home app, on Android controls for smart home devices, and is controllable with the Google Assistant on Android, without additional development.

We’re also creating new tools to accelerate your development with the Google Play services Matter APIs, using the new Google Home Mobile SDK. Building a Matter-native app on Android lets users link their smart home devices to your app during the setup process, or later in their journey, with a few easy taps - with no need for account linking.

We’re already well underway building Matter integrations with many of the leaders in the smart home industry, and helping their Matter devices do more with Google, with many more to follow.

Inspire engagement with Suggested Routines

Whether via Matter or existing integration paths, being able to easily and reliably connect your devices to Google helps users build their smart homes. For developers, automations allow users to do more with your devices.

We want to help you easily combine them with other devices into coordinated routines, and to use context and triggers to increase their usefulness and engagement with the help of Google’s intelligence. So in our new Developer Center, we’ll enable you to create your own suggested routines that users can easily discover directly in the Google Home app. Your routines can carry your brand, suggest new ways for users to engage with your devices, and enhance them by coordinating them with other devices and context signals in the home.

Do more with Google Home

This is just the start of new ways we’re enabling your devices and brands to do more with Google Home. We know that for device makers, compatibility with Google Home is an important way to engage your users. But you want to make sure that your brand, products, and innovations are front and center with your users, to help them get the most from the experiences you’ve built.

That’s why all of the new tools we’re building help you to go beyond just compatibility with Google Home — and empower you to build your best, most engaging experiences with Google.

  • Customizable setup flows built into Android and Google Home that let your users experience the magic of your device with just a few taps right out of the box.
  • Native Matter apps on Android your users can discover and connect to in one streamlined setup flow.
  • Suggested routines to help your users do more with your devices.
  • New ways for users to discover and use your devices’ capabilities within the Google Home app.
  • the new Google Home Developer Center that brings developer and marketing tools together in one place, to help you and your team quickly bring all this to market.
Building for Matter

Support user growth and discovery

Of course, when you’ve built those great experiences, you want to tell everyone about them! For users that haven’t discovered your devices yet, we’re leveraging the power of Google to help users learn about your devices, and bring them home.

Earlier this year, we launched our new smart home directory on web and mobile that has seen great user engagement. This new site gives consumers an easy to use resource for discovering smart devices compatible with Google, and the experiences they can create with them, whether with a single device or using multiple devices together with automations and routines. We’re continuing to expand the site with more use cases, addressing the needs of both beginners and more sophisticated users looking to grow their smart homes and get more out of them.

We’ll have more to share with you over the coming months! Visit developers.googoe.com/home to read more about our announcements today and sign up for updates. We can’t wait to see what you build!

Migrating App Engine push queues to Cloud Tasks

Posted by Wesley Chun (@wescpy), Developer Advocate, Google Cloud

Banner image that shows the Cloud Task logo

Introduction

The previous Module 7 episode of Serverless Migration Station gave developers an idea of how App Engine push tasks work and how to implement their use in an existing App Engine ndb Flask app. In this Module 8 episode, we migrate this app from the App Engine Datastore (ndb) and Task Queue (taskqueue) APIs to Cloud NDB and Cloud Tasks. This makes your app more portable and provides a smoother transition from Python 2 to 3. The same principle applies to upgrading other legacy App Engine apps from Java 8 to 11, PHP 5 to 7, and up to Go 1.12 or newer.

Over the years, many of the original App Engine services such as Datastore, Memcache, and Blobstore, have matured to become their own standalone products, for example, Cloud Datastore, Cloud Memorystore, and Cloud Storage, respectively. The same is true for App Engine Task Queues, whose functionality has been split out to Cloud Tasks (push queues) and Cloud Pub/Sub (pull queues), now accessible to developers and applications outside of App Engine.

Migrating App Engine push queues to Cloud Tasks video

Migrating to Cloud NDB and Cloud Tasks

The key updates being made to the application:

  1. Add support for Google Cloud client libraries in the app's configuration
  2. Switch from App Engine APIs to their standalone Cloud equivalents
  3. Make required library adjustments, e.g., add use of Cloud NDB context manager
  4. Complete additional setup for Cloud Tasks
  5. Make minor updates to the task handler itself

The bulk of the updates are in #3 and #4 above, and those are reflected in the following "diff"s for the main application file:

Screenshot shows primary differences in code when switching to Cloud NDB & Cloud Tasks

Primary differences switching to Cloud NDB & Cloud Tasks

With these changes implemented, the web app works identically to that of the Module 7 sample, but both the database and task queue functionality have been completely swapped to using the standalone/unbundled Cloud NDB and Cloud Tasks libraries… congratulations!

Next steps

To do this exercise yourself, check out our corresponding codelab which leads you step-by-step through the process. You can use this in addition to the video, which can provide guidance. You can also review the push tasks migration guide for more information. Arriving at a fully-functioning Module 8 app featuring Cloud Tasks sets the stage for a larger migration ahead in Module 9. We've accomplished the most important step here, that is, getting off of the original App Engine legacy bundled services/APIs. The Module 9 migration from Python 2 to 3 and Cloud NDB to Cloud Firestore, plus the upgrade to the latest version of the Cloud Tasks client library are all fairly optional, but they represent a good opportunity to perform a medium-sized migration.

All migration modules, their videos (when available), codelab tutorials, and source code, can be found in the migration repo. While the content focuses initially on Python users, we will cover other legacy runtimes soon so stay tuned.

Announcing DevFest 2021

Posted by Erica Hanson, Global Program Manager for Google Developer Communities

GIF with blue background and text that reads DevFest 2021, Google Developer Groups

DevFest season has officially started! From now through the end of the year, developers from all around the world are coming together for DevFest 2021, the biggest global event for developers, focusing on community-led learning on Google technologies. Hosted by Google Developer Groups (GDG) all across the globe, DevFest events are uniquely curated by their local GDG organizers to fit the needs and interests of the local community.

The mission

This year, DevFest 2021 inspires local developers to learn and connect as a community by exploring how to use Google technology to accelerate economic impact. In light of COVID-19, the global economy has shrunk and millions of jobs have been lost. Developers are the backbone of technology, and they play a pivotal role in the recovery of the global economy. In fact, expanding the impact of developers has never been more important!

Luckily, DevFest is the perfect opportunity for Google Developer Groups to show up for developers and their communities during such a challenging time. At DevFest 2021, GDGs and attendees will have the opportunity to explore how to use technology for good where it’s needed most.

Accelerating local economic recovery looks different across the globe, and GDGs hosting DevFest events are encouraged to consider the challenges their specific regions may be facing. For example, GDGs may choose to focus their DevFest events on building solutions that help local businesses grow, or they may prioritize upskilling their community by sharing technical content to help developers become industry ready. Whether it be through technical talks delivered in local languages or by simply meeting fellow local developers, DevFest 2021 will leave attendees feeling empowered to drive positive change in their communities.

What to expect

One of DevFest’s greatest strengths remains the passionate speakers who participate in DevFest events all across the globe. These speakers, often developers themselves, come from various backgrounds, perspectives, and skill levels to create a rich and rewarding experience for attendees. DevFest sessions are hosted in local languages in many different parts of the world.

This DevFest season, attendees will receive career support and mentorship opportunities from senior developers, including speakers from Google, Google Developer Group leaders, Google Developer Experts, and Women Techmakers.

Hands-on demos, workshops, and codelabs will cover a wide variety of technologies, including Android, Google Cloud Platform, Machine Learning with TensorFlow, Web.dev, Firebase, Google Assistant, and Flutter. Through these events, developers will learn how Google technologies help them build solutions that make a difference.

Google Developers is proud to support the community-led efforts of Google Developer Groups during this flagship annual event. DevFest is powered by a global network of passionate GDG community organizers who volunteer their time and efforts to help developers grow together, and this event wouldn’t be possible without them.

GIF with red background and text that reads hashtag DevFest, Register Now, and Google Developer Groups

Coming together

During DevFest 2020, 125,000+ developers participated across 700+ DevFests in 100+ countries. DevFest 2021 is already in full swing, with thousands of attendees across the globe collaborating with like-minded developers, learning new technologies, and building solutions to uplift their communities. Whether you’re looking to explore the latest Google technologies, level up your career, or innovate for impact, there is a DevFest event for you.

Find a DevFest near you here, and use #DevFest to join the conversation on social media.

“Bowling” automatic disapproved ads remover

Posted by Elad Ben-David, Nir Kalush, Dvir Kalev, Chen Yogev, Tzahi Zilberstein, Eliran Drucker

Image that shows three bowling pins, a bowling ball, and text that reads 3 Strikes Bowling

Tagline:

In light of the new policy that might cause accounts suspension, Bowling is a mitigation tool allowing clients to act and remove disapproved ads before risking account suspension.
The tool audits (and offers the option to delete) disapproved ads that may lead eventually to account suspension in perpetuity.

Business Challenge:

Starting Oct 2021 Google is introducing a new strike-based system to enforce against advertisers who repeatedly violate Google Ads policies (read more about the change here).

An advertiser’s first policy violation will result in a warning. If we detect continued violation of our policies advertisers will receive a notice they got a strike on the account, with a maximum of three strikes. The penalties applied with each strike will progressively rise. Temporary account holds will be applied for the first and second strikes, while the third strike will cause an account suspension.

Advertisers with hundreds of accounts and billions of search keywords lack the bandwidth to monitor each violation, thus might receive repeated strikes and get suspended.

Solution Overview:

“3 Strike Bowling” is an automated solution which identifies and gathers all relevant disapproved apps and includes the option to remove violating ads, in order to ensure compliance and avoid account suspension.
*The user can define an exclusion list of policy topics to ignore and not remove.

It’s a simple Python script, which can be run in either of the following modes:

  • “Audit Mode”- export all the disapproved ads without deleting them;
  • “Remove Mode” - delete all the disapproved ads and log the disapproved ads’ details.

There are a few output files (see here) which are saved locally under the “output” folder and optionally on BigQuery as well ( “google_3_strikes” dataset).

Skills Required:

  • Install technical prerequisites.

Google Products Used:

  • Google Ads API
  • BigQuery API (optional)

Estimated time to implement the solution: ~2h

Implementation instructions: View on github

Learn Flutter for free with Flutter Apprentice!

Posted by Shams Zakhour

Image of cover of Flutter Apprentice book with  the Flutter bird

We’ve heard from many folk that they want to learn Flutter, but don’t know where to start. So we have some great news for you — we’re giving away a free book for the next three months, along with a book club to help track your progress and answer questions.

Flutter Apprentice is written to build on mobile development fundamentals. It takes you through your first fully-featured Flutter app, including designing a complex UI, as well as more advanced concepts such as persistence, state management, and cloud storage with Firebase. The book even covers publishing on both iOS and Android platforms.

Flutter Apprentice comes from Razeware, the team behind the raywenderlich.com books, videos and tutorials. The book normally costs $60 to purchase, but you’ll have free access to Flutter Apprentice from today, October 6, 2021 through January 6, 2022.

Flutter Apprentice is a practical book, with lots of examples to follow and code that you can put to use in your own apps. And it’s based on the very latest Flutter 2.5 release and the latest features in the Dart language. Whether you’re an experienced developer looking to deepen your understanding of Flutter’s more advanced features, or you’re new to app development and interested in adding Flutter to your front-end development toolkit, we think you’ll find plenty of useful content.

Image of Flutter Bird holding a laptop while standing in front of a presentation board

Learn Together

We’re also excited to host the Flutter Apprentice Book Club, a weekly opportunity to hear live discussion and have your questions answered by the book’s authors and community experts. We’ll be partnering with Flutteristas and other prominent leaders in the Flutter community to host the book club. Join us each Wednesday at 12pm EST / 9am PST on the Flutter Community YouTube channel for summaries, and discussions.

Stay tuned for pop quizzes, chances to win your very own Dash plushie, AMAs with the book’s authors and more.

Get Access

To get started, go to flutter.dev/apprentice-giveaway, where you’ll find instructions on accessing the book.

You can also subscribe to updates from the Flutter team. We’re looking forward to joining you on the journey; see you along the way!

App pricing, update details, and Editor’s choice now available on Google Workspace Marketplace.

Posted by Mike Rhemtulla, Product Manager

Banner image that shows the Google Workspace logo

Google Workspace Marketplace is proud to announce the availability for developers to display pricing for their applications published in the Google Workspace Marketplace, and the date their application listing was last updated.

Launched over 11 years ago, Google Workspace Marketplace has been helping developers connect with the more than 3 billion people who use Google Workspace—with a stunning 4.8 billion apps installed to date. That incredible demand is fueling innovation in the ecosystem, and we now have more than 5300 public apps available in the Google Workspace Marketplace, plus thousands more private apps that customers have built for themselves.

App Pricing

For developers, you can now specify the app pricing choosing from Free, Paid with a Free trial, Paid with free features or Paid. The app pricing can be updated in the Google Workspace Marketplace SDK - Store Listing tab. We encourage you to specify this in order to provide more information about your Marketplace application for Workspace administrators and end users to evaluate and install your app.

Screenshot of app pricing drop down menu shows different pricing models to choose from

Developers can select which app pricing model is available to users

Screenshot of additional information section now shows pricing

Pricing will now be shown in the application information in Google Workspace Marketplace

App listing update

When a developer updates the app listing or configuration in the Google Workspace Marketplace SDK, administrators and users are now able to see when the application listing was last updated by the developer.

Screenshot of app listing shows a date when the listing was last updated

When the application listing was last updated will now be shown in the application details in Google Workspace Marketplace

Editor’s choice

We have also added a new Editor’s choice section in the Google Workspace Marketplace. This new section has three curated categories; Work from everywhere, these apps help your organization be more productive, Business essentials, these apps help increase workflow productivity, and Apps to discover, these apps are new and innovative. You can find out more about the eligibility for these categories here.

Screenshot shows new Editor's Choice section in Google Workpace Marketplace

New “Editor’s choice” section contains three curated categories in Google Workspace Marketplace

If you’d like to stay informed about updates like these and others to the Google Workspace platform please subscribe to the developer newsletter. And find us at Next ‘21, where we have sessions, demos, and labs covering the latest updates to the Google Workspace platform.

App pricing, update details, and Editor’s choice now available on Google Workspace Marketplace.

Posted by Mike Rhemtulla, Product Manager

Banner image that shows the Google Workspace logo

Google Workspace Marketplace is proud to announce the availability for developers to display pricing for their applications published in the Google Workspace Marketplace, and the date their application listing was last updated.

Launched over 11 years ago, Google Workspace Marketplace has been helping developers connect with the more than 3 billion people who use Google Workspace—with a stunning 4.8 billion apps installed to date. That incredible demand is fueling innovation in the ecosystem, and we now have more than 5300 public apps available in the Google Workspace Marketplace, plus thousands more private apps that customers have built for themselves.

App Pricing

For developers, you can now specify the app pricing choosing from Free, Paid with a Free trial, Paid with free features or Paid. The app pricing can be updated in the Google Workspace Marketplace SDK - Store Listing tab. We encourage you to specify this in order to provide more information about your Marketplace application for Workspace administrators and end users to evaluate and install your app.

Screenshot of app pricing drop down menu shows different pricing models to choose from

Developers can select which app pricing model is available to users

Screenshot of additional information section now shows pricing

Pricing will now be shown in the application information in Google Workspace Marketplace

App listing update

When a developer updates the app listing or configuration in the Google Workspace Marketplace SDK, administrators and users are now able to see when the application listing was last updated by the developer.

Screenshot of app listing shows a date when the listing was last updated

When the application listing was last updated will now be shown in the application details in Google Workspace Marketplace

Editor’s choice

We have also added a new Editor’s choice section in the Google Workspace Marketplace. This new section has three curated categories; Work from everywhere, these apps help your organization be more productive, Business essentials, these apps help increase workflow productivity, and Apps to discover, these apps are new and innovative. You can find out more about the eligibility for these categories here.

Screenshot shows new Editor's Choice section in Google Workpace Marketplace

New “Editor’s choice” section contains three curated categories in Google Workspace Marketplace

If you’d like to stay informed about updates like these and others to the Google Workspace platform please subscribe to the developer newsletter. And find us at Next ‘21, where we have sessions, demos, and labs covering the latest updates to the Google Workspace platform.

Announcing the Google Forms API

Posted by Christian Schalk, Developer Advocate

Announcing the Google Forms API

Google is proud to announce the Google Forms API! The Forms API is currently available in Restricted Beta, with Open Beta expected to follow in Q4.


Launched in 2008, Google Forms enables easy creation and distribution of forms, surveys, and quizzes. Forms is used for a wide variety of use cases across business operations, customer management, event planning and logistics, education, and more.

Bringing Automation to Google Forms


Image shows two laptops with a phone in the middle

The new Google Forms API provides programmatic access for managing forms and acting on responses, empowering developers to build powerful integrations on top of Forms. The API supports two key use cases:


  • Automating form creation and editing:The API enables developers to automate form creation and editing. This is especially powerful when dealing with large volumes of forms that need to be auto-generated from question banks or other data.


  • Reacting to incoming responses: The API also allows developers to build automations for acting on incoming responses. Examples include developing real-time dashboards or visualizations and triggering business workflows based on response data.

Example Use Cases


Education Automation Integrations

  • Integrations with Learning Management Systems

  • Custom form/quiz generation from question banks

  • Student tracking with real-time dashboards


Customer Management and Support


  • Auto-generate surveys / forms based on customer data

  • Trigger notifications and processes based on responses from customers

Data Analysis and Visualization


  • Create custom visualizations with response data

  • Leverage push notifications to update in realtime


Google Forms API Functionality

The API provides the following specific functionality.

Form Schema and Metadata

Create and Update
  • Create new forms and quizzes
  • Edit existing forms
  • Add questions, point values, correct answers
Read Form Metadata

Read forms content and metadata, including:

  • Questions and answer options
  • Correct answers
  • Point values
  • Feedback

Form Responses

Read Responses
Read responses to forms, including:

  • Answers to each question
  • Response submission time
  • Grades and feedback
  • Push Notifications

    Notifications via Cloud PubSub

    Subscribe to real-time form updates via Cloud Pub/Sub:

    • Receive either push or pull notifications when forms change

    • Get notified when a form is edited or when a form response is submitted


    For the complete Forms API reference documentation visit:

    developers.google.com/forms/api/reference/rest



    Early Forms API Partner Highlights

    Zapier , a leading workflow automation platform, will leverage the new Google Forms API to deliver a better experience for Zapier and Google Workspace users. Today, thousands of businesses use Zapier to connect Google Forms to 4k+ applications to automate tasks and key workflows.


    To date, Zapier has used the Google Drive and Google Sheets API to deliver this integration. Now, a dedicated Forms API will provide a more stable and purpose-driven platform to build from.


    The most common use case for Zapier’s integration with Google Forms is to send Form submission data to an app of the user’s choice within Zapier’s ecosystem whenever one is submitted. For example, a user can automatically create a Google Calendar event for a meeting booked via a Google Form.


    Doing this today requires setting up “watches” via the Google Drive API on the spreadsheet that is tied to the Google Form a user wishes to integrate with Zapier. While this implementation is functional, it puts significant pressure on the Drive endpoint, which carries strict rate limits.


    When a change to the Google Sheet is registered by the Drive API, Zapier then uses the Sheets API to identify the new rows on the spreadsheet that are tied to the Google Form and reads the required data.


    With the new Forms API, Zapier will be able to achieve the same functionality through the Pub/Sub notification system to track new responses and the Forms API to find, read, and send the necessary data to third-party apps via Zapier.


    This new implementation will result in faster and more reliable automations between Google Forms and the 4000+ apps in Zapier’s app directory.



    Zzish, an innovator in the education industry, is leveraging the new Google Forms API in their Quizalize product to empower educators to personalize their teaching for every student.

    Zzish will use the Forms API to help teachers easily convert between Google Forms quizzes and quizzes in Quizalize. This will enable teachers to search Quizalize's database of 500,000 standards-aligned quizzes and use them as Google Forms. Teachers will also be able to easily deploy their Google Forms as a fun classroom game in Quizalize.


    Google Forms API Launch Roadmap

    We anticipate promoting the API to Open Beta in Q4 2021, with GA following in 2022.


    Become a Forms API Early Adopter!

    The Forms API is currently in Restricted Beta. We encourage you to apply here to be an early adopter to get started with the API today! We’ll also send you important updates about Open Beta and improvements to the API. To keep up to date with all the APIs of your favorite Google Apps, please subscribe to the Google Workspace Developer Newsletter.


    Announcing the Google Forms API

    Posted by Christian Schalk, Developer Advocate

    Announcing the Google Forms API

    Google is proud to announce the Google Forms API! The Forms API is currently available in Restricted Beta, with Open Beta expected to follow in Q4.


    Launched in 2008, Google Forms enables easy creation and distribution of forms, surveys, and quizzes. Forms is used for a wide variety of use cases across business operations, customer management, event planning and logistics, education, and more.

    Bringing Automation to Google Forms


    Image shows two laptops with a phone in the middle

    The new Google Forms API provides programmatic access for managing forms and acting on responses, empowering developers to build powerful integrations on top of Forms. The API supports two key use cases:


    • Automating form creation and editing:The API enables developers to automate form creation and editing. This is especially powerful when dealing with large volumes of forms that need to be auto-generated from question banks or other data.


    • Reacting to incoming responses: The API also allows developers to build automations for acting on incoming responses. Examples include developing real-time dashboards or visualizations and triggering business workflows based on response data.

    Example Use Cases


    Education Automation Integrations

    • Integrations with Learning Management Systems

    • Custom form/quiz generation from question banks

    • Student tracking with real-time dashboards


    Customer Management and Support


    • Auto-generate surveys / forms based on customer data

    • Trigger notifications and processes based on responses from customers

    Data Analysis and Visualization


    • Create custom visualizations with response data

    • Leverage push notifications to update in realtime


    Google Forms API Functionality

    The API provides the following specific functionality.

    Form Schema and Metadata

    Create and Update
    • Create new forms and quizzes
    • Edit existing forms
    • Add questions, point values, correct answers
    Read Form Metadata

    Read forms content and metadata, including:

    • Questions and answer options
    • Correct answers
    • Point values
    • Feedback

    Form Responses

    Read Responses
    Read responses to forms, including:

  • Answers to each question
  • Response submission time
  • Grades and feedback
  • Push Notifications

    Notifications via Cloud PubSub

    Subscribe to real-time form updates via Cloud Pub/Sub:

    • Receive either push or pull notifications when forms change

    • Get notified when a form is edited or when a form response is submitted


    For the complete Forms API reference documentation visit:

    developers.google.com/forms/api/reference/rest



    Early Forms API Partner Highlights

    Zapier , a leading workflow automation platform, will leverage the new Google Forms API to deliver a better experience for Zapier and Google Workspace users. Today, thousands of businesses use Zapier to connect Google Forms to 4k+ applications to automate tasks and key workflows.


    To date, Zapier has used the Google Drive and Google Sheets API to deliver this integration. Now, a dedicated Forms API will provide a more stable and purpose-driven platform to build from.


    The most common use case for Zapier’s integration with Google Forms is to send Form submission data to an app of the user’s choice within Zapier’s ecosystem whenever one is submitted. For example, a user can automatically create a Google Calendar event for a meeting booked via a Google Form.


    Doing this today requires setting up “watches” via the Google Drive API on the spreadsheet that is tied to the Google Form a user wishes to integrate with Zapier. While this implementation is functional, it puts significant pressure on the Drive endpoint, which carries strict rate limits.


    When a change to the Google Sheet is registered by the Drive API, Zapier then uses the Sheets API to identify the new rows on the spreadsheet that are tied to the Google Form and reads the required data.


    With the new Forms API, Zapier will be able to achieve the same functionality through the Pub/Sub notification system to track new responses and the Forms API to find, read, and send the necessary data to third-party apps via Zapier.


    This new implementation will result in faster and more reliable automations between Google Forms and the 4000+ apps in Zapier’s app directory.



    Zzish, an innovator in the education industry, is leveraging the new Google Forms API in their Quizalize product to empower educators to personalize their teaching for every student.

    Zzish will use the Forms API to help teachers easily convert between Google Forms quizzes and quizzes in Quizalize. This will enable teachers to search Quizalize's database of 500,000 standards-aligned quizzes and use them as Google Forms. Teachers will also be able to easily deploy their Google Forms as a fun classroom game in Quizalize.


    Google Forms API Launch Roadmap

    We anticipate promoting the API to Open Beta in Q4 2021, with GA following in 2022.


    Become a Forms API Early Adopter!

    The Forms API is currently in Restricted Beta. We encourage you to apply here to be an early adopter to get started with the API today! We’ll also send you important updates about Open Beta and improvements to the API. To keep up to date with all the APIs of your favorite Google Apps, please subscribe to the Google Workspace Developer Newsletter.