AI agents, automations and apps for PayHere

Set up an automation: when payment received in PayHere, update multiple rows in Google Sheets

Build it

It works alongside apps such as Google Drive and HubSpot, and asks before anything goes outside.

What you can build on PayHere

Automation

PayHere to Google Sheets, every time

When payment received in PayHere, update multiple rows in Google Sheets, the same way every time.

AI agent

An AI agent that works in PayHere

It uses “Create a plan”, “Update current company” and “Issue a refund” in PayHere when your instructions call for it.

Browser agent

Pages on payhere.lk

For PayHere’s public pages on payhere.lk that its triggers and actions don’t reach: it reads them on a schedule and reports what changed.

App

Your own payments app

Your PayHere payments as records, with a board and a table, kept current with “Create a plan”.

PayHere triggers and actions

A trigger starts the work; actions are the steps in PayHere.

Triggers

2
  • Payment receivedTriggers when a payment is received.
  • Subscription cancelledTriggers when a user has cancelled their subscription, or Stripe has marked it as cancelled due to payment failures.

Actions

3
  • Create a planCreates a new payment plan
  • Update current companyUpdate the company information for currently authenticated user.
  • Issue a refundIssue a refund a customer the amount specified, can be a partial refund.

Templates for PayHere

Pick one and Captain builds it with you.

  • When payment received in PayHere, update multiple rows in Google Sheets

    Build this
  • When payment received in PayHere, new message posted in channel instant in Slack

    Build this
  • When subscription cancelled in PayHere, share file with anyone in Google Drive

    Build this
  • When subscription cancelled in PayHere, add notes to contact in HubSpot

    Build this
  • When subscription cancelled in PayHere, update multiple rows in Google Sheets

    Build this
  • When payment received in PayHere, share file with anyone in Google Drive

    Build this

Apps that work best with PayHere

All e-commerce apps · All accounting apps · All payments apps · Every app, A to Z

Questions about PayHere in 50agents

What can start the work in PayHere?

Its triggers: “Payment received” and “Subscription cancelled”. They are webhooks, so they fire as the event happens.

What can 50agents do in PayHere?

Its actions: “Create a plan”, “Update current company” and “Issue a refund”. Anything that reaches people outside asks you first.

Which apps is PayHere most often paired with?

Google Drive, HubSpot, Shopify, Google Contacts and YouTube, in viaSocket’s templates.

What do people build most with PayHere?

The most used templates: when payment received in PayHere, update multiple rows in Google Sheets; when payment received in PayHere, new message posted in channel instant in Slack; when subscription cancelled in PayHere, share file with anyone in Google Drive.

Can an AI agent work in PayHere?

Yes. Connect PayHere and it can use “Create a plan”, “Update current company” and “Issue a refund” when its instructions call for it. It runs on a schedule or when you ask in its chat.

Does 50agents change my PayHere data on its own?

Only through the actions you name, such as “Create a plan”. Changes made in PayHere cannot be undone from 50agents, and anything that reaches people outside your business asks you first.

Build on PayHere

One sentence to Captain. Free to start.

Build it with Captain
PayHere in 50agentsBuild it