GmailScope

Estimated reading: 3 minutes 2237 views

This activity serves as an authentication package for all the activities placed within this scope.

Properties

INPUT

AccountName: *This parameter indicates the “MailID” of the account for which the automation needs to be performed. It accepts values in “String” datatype. You can either hardcode the values in “String” format or can enter the values in “String” datatype.

KeyPath: *This parameter indicates the need to provide the path of the “Client Secret key” provided during registration. It accepts values in “String” datatype. You can either hardcode the values in “String” format or can enter the values in “String” datatype. (Refer the below documentation).

MISC

BodyGets auto filled once the “Activity” is dropped into the body.

DisplayNameDisplays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnErrorSpecify the “Boolean” value as “True” or “False.”
True: Continue executing the workflow regardless of any errors thrown.
False:
 Halt the workflow if it encounters any errors.
None:
 If the option is left blank, the activity will, by default, behave as if “False” were chosen.
Version
It indicates the version of the feature being used.

Represents mandatory fields to execute the workflow.

How to get keypath?

Step 1: Login to Google Developer Console with your registered Gmail account details “https://console.developers.google.com/”.
Step 2: Create a Project if you haven’t created before and specify a valid Project Name and Organization for your reference.
Step 3: Search for “Gmail API” in the “Search for APIs and Services” tab.

Step 4: Select Gmail API from the marketplace list and it will be redirected to the Gmail API service page. Click on Enable API button and your Gmail API will be enabled after this
(You can disable this API anytime if you want to discontinue with this process if required).
Step 5: Click Credentials tab from the left side panel and click “CONFIGURE CONSENT SCREEN” button.

Step 6: Select External and click Create.

Step 8: Back to the API screen, Click on Create Credentials –> OAuth Client ID. 

Step 9: Specify Application Type as Desktop App and specify name of the App (you can use any desired name for your app, which will integrate with your Gmail account later).

Step 10: Click “Save” and OAuth Client will be created with Client API and Client Secret Keys.

Step 11: You can download it as a JSON file and store it in your local folder. 

Step 12: Provide the downloaded JSON file path in Gmail Automation Scope activity along with your Gmail Account. User needs to do one-time authentication while running the Read and Send activities first time.

Authentication of Gmail Account

Share this Doc

GmailScope

Or copy link

CONTENTS