Skip to main content

Create Gift Certificate Action

The Create Gift Certificate action generates a new gift certificate that can be sent to recipients.

Jerome Bajou avatar
Written by Jerome Bajou
Updated yesterday

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 name

  • message - Personal message to include

  • valid_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.00

2. 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

  1. Verify category exists - Check gift certificate category UUID

  2. Validate emails - Ensure email addresses are valid

  3. Set appropriate amounts - Use valid amounts for the category

  4. Personalize messages - Add meaningful messages

  5. Test creation - Verify gift certificates are created correctly


Related Documentation

Did this answer your question?