⚡free Webinar: AI-powered regular giving in Payments2Us🤖

Sorry, we didn't find any relevant articles for you.

Send us your queries using the form below and we will get back to you with a solution.

How to migrate workflow to flow

This guide is designed to help you transition your Payments2Us automation from legacy Workflow Rules to the modern Salesforce Flow engine. Salesforce is retiring Workflow Rules, and the latest Payments2Us releases provide optimized Flows to ensure your payment processing remains scalable and performant.

Before you begin, evaluate your current setup:

Go to Part 1 if: you are using standard Payments2Us Workflow Rules without any modifications.

Go to Part 2 if: you have modified a standard Workflow Rule (e.g., added a custom field update, changed the evaluation criteria, or added a custom email alert).


Part 1: Deactivating Workflows and Activating Flows

Before starting, ensure you have upgraded to the latest version of Payments2Us. This process ensures that you don't have "double automation" running, which can cause record locking or duplicate receipts.

Step 1: Identify the Target Workflows

Navigate to Setup > Process Automation > Workflow Rules.

Look for rules associated with objects such as Payment Txn, Recurring Donation, or Merchant Facility, etc. (You can refer to Appendix: Workflow to Flow Mapping Reference)

Step 2: Deactivate the Legacy Workflow Rules

Click the Deactivate button.

Step 3: Activate the Corresponding Flows

Navigate to Setup > Process Automation > Flows.

Find the flow (usually labeled with "Payments2Us" in the name) with the same name as the workflow.

Open the Flow

and click Activate.


Part 2: Transitioning Custom Logic to Flows

If you have modified a Workflow Rule, you cannot simply activate the managed Flow, as it will not include your custom changes. Instead, you will need to replicate those changes in a new version of the Flow.

Please note that for any modified Workflow Rules, the original Payments2Us Workflow Rule will appear as deactivated in your org.

 

Step 1: Clone the Managed Flow

Since Managed Flows are "locked" for editing, you must create an editable copy:

Open the Payments2Us Managed Flow that matches your Workflow (refer to the mapping table below).

Navigate to Setup > Flows

Open the Payments2Us Managed Flow that corresponds to your needs.

Click Save As New Flow.

Give it a clear name (e.g., Custom: Payments2Us Payment Txn After Save). This ensures your version is not overwritten during future package upgrades.

Step 2: Replicate Your Custom Logic

If your old Workflow had a "Field Update," you must add an Update Records element to your new Flow.

On the Flow canvas, click the (+) icon where you want the update to happen (usually after the start element).

Select Update Records.

Label: Name it (e.g., Update Donor Level on Contact).

How to Find Records: Select Use the payment txn record that triggered the flow.

Set Field Values: Choose the Field you want to update and the Value it should receive.

Step 3: Finalise Custom Flow

Click Save

Step 4: Go to Workflow Rules and Deactivate the old custom Workflow

Running both will cause duplicate record updates or errors.

Navigate to Setup > Process Automation > Workflow Rules. Click the Deactivate button.

 and then Activate your new Custom Flow immediately .

Please note: If you would like Payments2Us to assist with migrating your custom Workflow Rules to Flows, this service is available under our Premium or Advantage support packages. This work sits outside of standard support. For more information, please refer to the support package page.

 

 


Appendix: Workflow to Flow Mapping Reference

Use the table below to identify which legacy Workflow Rule corresponds to the new Payments2us Flow.

Workflow Rule

Object

Flow

1st Account Subscription Renewal Reminder [ADD TIME BASED WORKFLOW] Account Subscription Payments2Us Account Subscription Flow: 1st Account Subscription Renewal Reminder
1st Renewal Reminder [ADD TIME BASED WORKFLOW] Subscription Payments2Us Subscription Flow: 1st Renewal Reminder
2nd Account Subscription Renewal Reminder [ADD TIME BASED WORKFLOW] Account Subscription Payments2Us Account Subscription Flow: 2nd Account Renewal Reminder
2nd Renewal Reminder [ADD TIME BASED WORKFLOW] Subscription Payments2Us Subscription Flow: 2nd Renewal Reminder
Account Membership Confirmation Account Subscription Payments2Us Account Subscription Flow: Account Membership Confirmation
Account Subscription Cancelled Account Subscription Payments2Us Account Subscription Flow: Account Subscription Cancelled
Batch Entry - Reset Authorise Cards Batch Entry Payments2Us Batch Entry Flow: Reset Authorise Cards
Batch Payment Processor Not Running [ADD TIME BASED WORKFLOW] Merchant Facility Payments2Us Merchant Facility Flow: Batch Payment Processor Not Running
Batch Payments Process Restart Reminder [ADD TIME BASED WORKFLOW] Merchant Facility Payments2Us Merchant Facility Flow: Batch Payments Process Restart Reminder
Campaign Statement Generation/Email out processing complete notification Campaign Payments2Us Campaign Flow: Statement Generation/Email out processing complete notification
Create Account URL Token Account Payments2Us Account Flow: Create Account URL Token
Create Campaign URL Token Campaign Payments2Us Campaign Flow: Create Campaign URL Token
Create CampaignMember URL Token Campaign Member Payments2Us Campaign Member Flow: Create Campaign Member URL Token
Create Case URL Token Case Payments2Us Create Case URL Token
Create Contact URL Token Contact Payments2Us Contact Flow: Create URL Token
Create Opportunity URL Token Opportunity Payments2Us Opportunity Flow: Create URL Token
Create URL Token Recurring Payment Payments2Us Recurring Payment Flow: Create URL Token
Direct Debit Notification of Bulk Update Complete Direct Debit Batch Payments2Us Direct Debit Batch Flow: Notification of Bulk Update Complete
Direct Debit Notification of Extract Complete Direct Debit Batch Payments2Us Direct Debit Batch Flow: Notification of Extract Complete
Error Log Notification Error Log - Payments2Us Payments2Us Error Log - Payments2Us Flow: Error Log Notification
Import File BPAY Auto process Import File Payments2Us Import File Flow: Import File BPAY Auto process
Import File Errors Credit Cards Recurring Payment Txn Payments2Us Payment Txn Flow: Import File Errors Credit Cards Recurring
Import File Notification of Processing Complete Import Files Payments2Us Import Files Flow: Notification of Processing Complete
Import Files - Reset Authorise Cards Import Files Payments2Us Import Files Flow: Reset Authorise Cards
IP Address Set Name IP Address Access Payments2Us IP Address Access Flow: IP Address Set Name
Large Donation/Payment Alert Payment Txn Payments2Us Payment Txn Flow: Large Donation/Payment Alert
Last Payment Date Check for Monthly Recurring Payment Payments2Us Recurring Payment Flow: Last Payment Date Check for Monthly
mark Refunds as Receipted for Matching Payment Txn Payments2Us Payment Txn Flow: mark Refunds as Receipted for Matching
Mass Address Processing Complete Campaign Payments2Us Campaign Flow: Mass Address Processing Complete
Membership Confirmation Subscription Payments2Us Subscription Flow: Membership Confirmation
New Online Membership Payment Notification Payment Txn Payments2Us Payment Txn Flow: New Online Membership Payment Notification
New Online Payment Notification Payment Txn Payments2Us Payment Txn Flow: New Online Payment Notification
New Recurring Payment - Service Agreemet Recurring Payment Payments2Us Recurring Payment Flow: Service Agreement Sent
Payments - Recurring Process [ADD TIME BASED WORKFLOW] Payment Txn Payments2Us Merchant Facility Flow: Payments - Recurring Process
Peer-to-Peer Contact - Individual Team Member Payments2Us Team Member Flow: Peer-to-Peer Contact - Individual
Peer-to-Peer Contact - Team Member Team Member Payments2Us Team Member Flow: Peer-to-Peer Contact - Team Member
Peer-to-Peer Primary Contact - Team Team Member Payments2Us Team Member Flow: Peer-to-Peer Primary Contact - Team
Recurring Payment Card Expire [ADD TIME BASED WORKFLOW] Recurring Payment Payments2Us Recurring Payment Flow: Recurring Payment Card Expiry
Recurring Payment Card Expiry Recurring Payment Payments2Us Recurring Payment Flow: Recurring Payment Card Expiry
Recurring Payment Error Payment Txn Payments2Us Payment Txn Flow: Recurring Payment Error
Recurring Payments Restart Reminder [ADD TIME BASED WORKFLOW] Merchant Facility Payments2Us Merchant Facility Flow: Recurring Payments Restart Reminder
Refund Approval Payment Txn Payments2Us Payment Txn Flow: Refund Approval
Resend Card Expiring Email Recurring Payment Payments2Us Recurring Payment Flow: Resend Card Expiring Email
Resend Card Failure Email Recurring Payment Payments2Us Recurring Payment Flow: Resend Card Failure Email
Send Annual Statement Campaign Member Payments2Us Campaign Member Flow: Send Annual Statement
Send Client Direct Debit Signup forms Recurring Payment Payments2Us Recurring Payment Flow: Send Client Direct Debit Signup forms
Send from Button - Confirmation Letter Account Subscription Payments2Us Account Subscription Flow: Send from Button - Confirmation Letter
Send from Button - Confirmation Letter Subscription Payments2Us Subscription Flow: Send from Button - Confirmation Letter
Send from Button - Renewal Account Subscription Payments2Us Account Subscription Flow: Send from Button - Renewal
Send from Button - Renewal Subscription Payments2Us Subscription Flow: Send from Button - Renewal
Send from Button - Resend receipt Payment Txn Payments2Us Payment Txn Flow: Send from Button - Resend receipt
Send Interim Refund Notification Payment Txn Payments2Us Payment Txn Flow: Send Interim Refund Notification
Send Interum Receipt Payment Txn Payments2Us Payment Txn Flow: Send Interum Receipt
Send Pay Later Instruction Payment Txn Payments2Us Payment Txn Flow: Send Pay Later Instructions
Send Pay Later Instructions BPAY Payment Txn Payments2Us Payment Txn Flow: Send Pay Later Instructions BPAY
Send Payment Schedule Invoice Payment Txn Payments2Us Payment Txn Flow: Send Payment Schedule Invoice
Send Receipt Automatic Payment Txn Payments2Us Payment Txn Flow: Send Receipt Automatic
Send Receipt Manual Payment Txn Payments2Us Payment Txn Flow: Send Receipt Manual
Send Recurring Payment Suspended Alert Recurring Payment Payments2Us Recurring Payment Flow: Send Recurring Payment Suspended Alert
Send Recurring Payment Suspended Alert to Payer Recurring Payment Payments2Us Recurring Payment Flow: Send Recurring Payment Suspended Alert to Payer
Send Regular Payment Welcome Recurring Payment Payments2Us Recurring Payment Flow: Send Regular Payment Welcome
set 1st Reminder Due Subscription Payments2Us Subscription: set 1st Reminder Due
Set Account Update Geocode Account Payments2Us Account Flow: Set Account Update Geocode
Set Contact Update Geocode Contact Payments2Us Contact Flow: Set Contact Update Geocode
Set Lead Update Geocode Lead Payments2Us Lead Flow: Set Lead Update Geocode
set Matching Start Payment Txn Payments2Us Payment Txn Flow: set Matching Start
set Matching Start - NPC Payment Txn Payments2Us Payment Txn: set Matching Start - NPC
skip Receipt Automatic Payment Txn Payments2Us Payment Txn Flow: skip Receipt Automatic
Subscription Cancelled Subscription Payments2Us Subscription Flow: Subscription Cancelled
Subscription Issue Mailout Generation Notification of Completion Subscription Issue Payments2Us Subscription Issue Flow: Mailout Generation Notification of Completion
Subscription Issue Payment Generation Notification of Completion Subscription Issue Payments2Us Subscription Issue Flow: Payment Generation Notification of Completion
URL Token - Form Process - Amount and Payment Info Update URL Token Payments2Us URL Token Flow: Form Process - Amount and Payment Info Update
URL Token - Form Process - Amount, Contact and Payment Info Update URL Token Payments2Us URL Token Flow: Form Process - Amount, Contact and Payment Info Update
URL Token - Form Process - Contact and Credit Card Update URL Token Payments2Us URL Token Flow: Form Process - Contact and Credit Card Update
URL Token - Form Process - Credit Card Update URL Token Payments2Us URL Token Flow: Form Process - Credit Card Update
URL Token Amount URL Token Payments2Us URL Token Flow: URL Token Amount
URL Token Default Amount URL Token Payments2Us URL Token Flow: Default Amount

Updated at March 18th, 2026

Was this article helpful?