Skip to main content
Question

How to programmatically add Gmail actions for a user via API

  • March 29, 2025
  • 1 reply
  • 28 views

Hi there,

 

Is it possible to programmatically connect a new gmail account and update other action properties? For example, I’d like to add the “Gmail: Create Draft” action for a user via API

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Hafiz_usama123
Forum|alt.badge.img+1

Yes, in Zapier, you can programmatically connect a new Gmail account and set up the “Gmail: Create Draft” action using the Zapier API. First, users must authenticate via OAuth 2.0 to link their Gmail account. Then, you can create a Zap via the Zapier API (/zaps endpoint) by defining a trigger (e.g., webhook or form submission) and adding the Gmail “Create Draft” action step. Alternatively, you can use App Extensions to dynamically update action properties within an existing Zap. This approach allows for seamless automation without manual setup in the Zapier editor.