GoMeddo - Template - Generate Payment Links from Reservation flow

Description

The GoMeddo - Template - Generate Payment Links from Reservation flow uses the Generate Payment Link action to create a payment link whenever a default reservation is created or updated. A default reservation is a reservation with the default reservation status.

Use this flow as a starting point to configure when to generate payment links and how to use them after creation.

This flow is only available when the GoMeddo Payments bridge package is installed. See Install the latest GoMeddo Payments version.

The Generate Payment Link action creates the transaction with the permissions of the running user. Assign the GoMeddo Payments User permission set to every user who creates or updates reservations, or the flow fails for them.

Configure the flow

Go to Setup > Flows and open GoMeddo - Template - Generate Payment Links from Reservation.

To use the flow, first save it as a new flow with Save As New Flow.

image-20260318-143907.png

In the Start element, select the reservation conditions that trigger the flow. By default, the flow only checks that the status is not empty, because the Is Default Reservation decision then checks whether it is the default status.

The Assign Values from Reservation step assigns the description and amount of the reservation to variables. The flow uses these variables for the transaction it creates with the payment link. You can change the step to take the values from somewhere else.

The Generate Payment Link Apex action creates the payment link and the transaction, so check that its settings meet your needs.

The Provider field of the action contains a placeholder (Example Provider). Replace it with a payment provider record from your org, or the flow fails.

image-20260318-144835.png

The action stores the generated link in the PaymentLink variable and the created transaction in the CreatedTransaction record variable. Use these variables as needed. The last step, Assign reservation to created transaction, links the created transaction to the reservation.