Connect PayHere and Gmail to Build Intelligent Automations

Choose a Trigger

PayHere

When this happens...

Choose an Action

Gmail

Automatically do this!

Ready to use PayHere and Gmail automations

Actions and Triggers

When this happensTriggers

A trigger is an event that starts a workflow.

Payment Received

Payment Received

Triggers when a payment is received.

Subscription Cancelled

Subscription Cancelled

Triggers when a user has cancelled their subscription, or Stripe has marked it as cancelled due to payment failures.

New Attachment

New Attachment

Retrieve recent Gmail messages (optionally filtered by label) that contain attachments, upload those attachments to Viasocket, and return message and attachment details.

New Email Received

New Email Received

Runs when new email arrives

Request a new Trigger for PayHere

Do thisActions

Action is the task that follows automatically within your PayHere integrations.

Create a Plan

Create a Plan

Creates a new payment plan

Update Current Company

Update Current Company

Update the company information for currently authenticated user.

Issue a refund

Issue a refund

Issue a refund a customer the amount specified, can be a partial refund.

Send Email

Send Email

send a new email message.

Add or Remove Label to Email

Add or Remove Label to Email

Add or remove a label on a specific email or the first email that matches a subject or sender.

Reply to Email

Reply to Email

Reply to an existing Gmail thread (plain text or HTML). Supports To/CC/BCC, attachments, custom sender name, and optional labels.

Need help building your workflow?

Get instant answers from our AI assistant or connect with a support specialist anytime.

Step by step guides to integrate PayHere and Gmail

Frequently Asked Questions

How do I start an integration between PayHere and Gmail?

To start, connect both your PayHere and Gmail accounts to viaSocket. Once connected, you can set up a workflow where an event in PayHere triggers actions in Gmail (or vice versa).

Can we customize how data from PayHere is recorded in Gmail?

Absolutely. You can customize how PayHere data is recorded in Gmail. This includes choosing which data fields go into which fields of Gmail, setting up custom formats, and filtering out unwanted information.

How often does the data sync between PayHere and Gmail?

The data sync between PayHere and Gmail typically happens in real-time through instant triggers. And a maximum of 15 minutes in case of a scheduled trigger.

Can I filter or transform data before sending it from PayHere to Gmail?

Yes, viaSocket allows you to add custom logic or use built-in filters to modify data according to your needs.

Is it possible to add conditions to the integration between PayHere and Gmail?

Yes, you can set conditional logic to control the flow of data between PayHere and Gmail. For instance, you can specify that data should only be sent if certain conditions are met, or you can create if/else statements to manage different outcomes.

PayHere

About PayHere

PayHere is a comprehensive online payment gateway service that facilitates seamless and secure transactions for businesses and individuals in Sri Lanka. It supports multiple payment methods, including credit cards, mobile payments, and bank transfers, making it easier for users to manage their financial transactions online.

Learn More
Gmail

About Gmail

Gmail is a free email service developed by Google. It allows users to send and receive emails, manage their inbox, and organize their communications efficiently. With features like spam filtering, search capabilities, and integration with other Google services, Gmail is a powerful tool for personal and professional communication.

Learn More