Overview
The Create Gift Certificate action generates a new gift certificate that can be sent to recipients.
Configuration
Gift Certificate Category UUID (Required)
UUID of the available gift certificate category to use.
To (Required)
Recipient name for the gift certificate.
Sender Email (Required)
Email address of the person sending the gift certificate.
Recipient Email (Required)
Email address of the recipient who will receive the gift certificate.
Amount (Required)
Gift certificate amount. Must be numeric.
Optional Fields
from- Sender namemessage- Personal message to includevalid_from- Date when certificate becomes valid (default: now)hide_amount- Whether to hide the amount (true/false)notify_recipient- Whether to notify recipient (default: true)
Output
Returns the created gift certificate object in the workflow context.
Examples
1. Simple Gift Certificate
Category UUID: {gift_certificate_category.uuid}
To: John Doe
Sender Email: [email protected]
Recipient Email: [email protected]
Amount: 100.002. With Message
Category UUID: {gift_certificate_category.uuid}
To: {customer.name}
Sender Email: {sender.email}
Recipient Email: {customer.email}
Amount: 50.00
From: {sender.name}
Message: Thank you for your loyalty!3. Future-Dated Certificate
Category UUID: {gift_certificate_category.uuid}
To: {customer.name}
Sender Email: [email protected]
Recipient Email: {customer.email}
Amount: 75.00
Valid From: {addDays(now(), 30)}Best Practices
Verify category exists - Check gift certificate category UUID
Validate emails - Ensure email addresses are valid
Set appropriate amounts - Use valid amounts for the category
Personalize messages - Add meaningful messages
Test creation - Verify gift certificates are created correctly
