SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Use Google Workspace to work with Gmail

Use Google Workspace to search, read and send a Gmail reply

Overview

You will learn

  • How to use Google Workspace SDK to Search Gmail account
  • How to use Google Workspace SDK to Read the email and download the attachments from the email.
  • How to use Google Workspace SDK to Reply to the original email
Céline Audin C Céline Audin August 21, 2026
Created on January 19, 2023
Contributors

More from Zeena Qarqash

See all 20 tutorials by Zeena Qarqash →

Prerequisites

Prerequisites

Steps

Intro

SAP Build Process Automation enables automation of google workspace products such as Gmail, Google drive, Google calendar, Google sheet, Google slides, Google documents and Google cloud storage. In addition to that it has the capabilities to automate ML based services such as Google document AI and vision AI.

In this tutorial, you will use Google Authorization SDK and Google Workspace SDK to automate the google application Gmail. You will build an automation that will search for an email in the user’s Gmail account based on query input and then read the email contents. It will download the attachments to a local File System and finally reply to the original email.


Step 1 Create an automation

  1. In the Lobby, select the Google Workspace project.

  2. In Build Process Automation, choose Create and then select Automation.

    Create Automation
    Create Automation

  3. In the Create Automation window, enter Google Workspace-Gmail as name and An automation to use Gmail as a description.

    Create Automation
    Create Automation

    You will be navigate to the automation editor of the newly created Automation.

Step 2 Add Google Workspace SDK
+
Step 3 Add input parameters
+
Step 4 Build an automation to use Gmail
+
Step 5 Test Google Workspace for Gmail
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Create an automation 2. Add Google Workspace SDK 3. Add input parameters 4. Build an automation to use Gmail 5. Test Google Workspace for Gmail
Next