PayForGood logoDreamforce 2025 Good Hackathon · Vanshiv Accelerator

PayForGood Non-Profit Donations

Experience Cloud · Agentforce Native · AP2

A Digital Agent-triggered Donations Agent for Agentforce, powered by Google AP2 (Agent Payments Protocol). Built natively on the Salesforce stack — Experience Cloud, Agentforce, Salesforce Core & Heroku.

Experience Site
AP2 Protocol
Agentforce
AP2
agent payments
100%
Salesforce native
A2A
payment agents
Introduction

Digital agent-triggered payments for nonprofit donations

PayForGood is a Digital Agent-triggered Donations Agent for Agentforce, powered by Google AP2 (Agent Payments Protocol) — created by the Vanshiv Team for the Dreamforce 2025 Good hackathon. Built natively on the Salesforce stack, the solution seamlessly leverages Experience Cloud, Agentforce, Salesforce Core, and Heroku.

The true power of Agentforce shines in a multi-agent environment — and this solution demonstrates exactly that. It utilizes AP2, launched by Google to enable seamless donation experiences. Imagine a simple scenario: a donor visits the site, provides minimal details, and completes a donation — without leaving the page. PayForGood handles the entire process by connecting with payment agents like Stripe, Chargent, or Adyen, ensuring a smooth, intelligent, and secure donation flow.

One-Time Donations

Donors visit the Experience Cloud site, provide minimal details, and complete a secure donation without leaving the page.

Recurring Giving

Donors can save payment preferences for future donations — securely stored or immediately wiped based on their choice.

PayForGood Integrations

PayForGood integrations — Experience Cloud, Salesforce, payment agents
How It Works

How PayForGood Works

From Experience Site donation to secure payment execution — a four-step journey across Agentforce and AP2.

1

Initiate on Experience Site

A donor visits the Experience Cloud site and provides name, email, donation amount, and payment details.

2

Check Donor Exists

If new, create a Contact in Salesforce and initiate payment. If existing, proceed via AP2.

3

Save Payment Preferences

After processing, ask whether to save payment details for future donations — store securely or wipe immediately.

4

Notify & Update Records

Notify the donor of payment success or failure. Salesforce updates Contact and Donation records automatically.

How PayForGood works — end-to-end donation flow
System Architecture

100% native to Salesforce

PayForGood is built on Experience Cloud, Agentforce, Salesforce Core and Heroku. It achieves standardisation and flexibility by following the latest AI Agent standards defined by Google and adopted by Salesforce.

Experience Site

Trigger donation payments for any transaction.

Salesforce Core

Accept prompts from Donation Agent, update data and initiate payment.

AP2

Used for triggering payments in an A2A scenario.

Heroku

Middleware for data and actions.

Webhooks

Real-time data transfer between multiple systems.

PayForGood automates the end-to-end donation journey across your nonprofit stack.

PayForGood system architecture diagram
Why We Built It

Why We Built PayForGood for Dreamforce Good Hackathon?

The AI Agent landscape is evolving rapidly, creating an urgent need for a robust and standardized framework that defines how Agentforce handles payments during agent-to-agent interactions.

Since PayForGood is triggered from an Experience Cloud site, accessible to all, and built on open, widely adopted standards like AP2 (Agent Payments Protocol), we believe it has tremendous potential to evolve beyond nonprofit donations. PayForGood can serve as the foundational semantic layer for non-profit Payments on Agentforce, enabling seamless, secure, and intelligent payment experiences across ecosystems.

The Road Ahead

The Road Ahead!

For now, we'll anxiously await the fate of PayForGood in the Dreamforce good hackathon (please wish us luck!) — but in the longer run, we're hoping to make Donation Agent open source (and get some support from Salesforce) to make it more feature-rich.

Roadmap

Sample Payment Agents

Show Donation Agent working with sample payment agents such as Stripe, Chargent, and others.

Roadmap

Enhanced Guardrails

Enhanced guardrails in Agentforce for payment approvals and compliance.

Roadmap

Multi-Modal Access

Expand PayForGood to be a multi-modal framework accessible through Experience Site, Salesforce Mobile app, Mobile SDK, Slack, Messenger, and more.