Gmail
Send, reply, search, and read emails in Gmail. Create drafts, request approvals, and manage your inbox. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
7 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- Create Draft ReplyCreates a draft reply to an existing email.
create_draft_reply - Get EmailGet an email via Id.
gmail_get_mail - Find EmailFind emails using advanced search criteria. At least one search filter (from, to, subject, label, category, date, content, or attachment) is required.
gmail_search_mail - Reply to EmailReply to an existing email.
reply_to_email - Request Approval in EmailSend approval request email and then wait until the email is approved or disapproved
request_approval_in_mail - Send EmailSend an email through a Gmail account
send_email - Custom API CallMake a custom API call to a specific endpoint
custom_api_call
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then Gmail. To connect it for every project, use Workspace settings, Integrations.
- Sign in to Gmail
You sign in to Gmail and approve access. Appbricx keeps the tokens, encrypted, and refreshes them.
https://www.googleapis.com/auth/gmail.sendhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.compose
This uses an OAuth app: the platform's, or your own from the admin panel, and you can bring your own credentials.
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("gmail", "create_draft_reply", { "message_id": "<message_id>", "reply_type": "reply", "body_type": "plain_text", "include_original_message": true }); if (!res.success) throw new Error(res.error); ctx.log.info("Gmail answered", { output: res.output }); }
More in Communication
Gmail and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.