Recipe Examples
Step-by-step examples for common automation scenarios.
Automation Recipes — Example Recipes
Here are step-by-step examples for common automation scenarios.
1. Tag Customers After Purchase
Goal: Apply a Keap tag when a customer completes a purchase.
| Setting | Value |
|---|---|
| Trigger | Purchase Trigger |
| Conditions | None |
| Action | Apply Keap Tags to Contact |
Steps:
- Create a new recipe
- Select Purchase Trigger
- Skip conditions (Step 2)
- Add action: Apply Keap Tags to Contact
- Search for and select the tag(s) you want to apply
- Click Done and activate the recipe
2. Apply Tag When Specific Product is Purchased
Goal: Tag customers who buy a specific product.
| Setting | Value |
|---|---|
| Trigger | Purchase Trigger |
| Condition | If product is in the order … > Specific product |
| Action | Apply Keap Tags to Contact |
Steps:
- Create a new recipe
- Select Purchase Trigger
- Add condition: If product is in the order …
- Set match type to “specific product / variation…”
- Search and select the product
- Click Done
- Add action: Apply Keap Tags to Contact, select your tag
- Activate the recipe
3. Free Shipping for VIP Customers
Goal: Give free shipping to customers who have a “VIP” tag in Keap.
| Setting | Value |
|---|---|
| Trigger | Checkout Trigger |
| Condition | If contact’s tags in Keap … > has one or more: VIP |
| Action | Give Shipping Discount (100%) |
Steps:
- Create a new recipe
- Select Checkout Trigger
- Add condition: If contact’s tags in Keap …
- Set to “has one or more of these tags”
- Search and select the “VIP” tag
- Add action: Give Shipping Discount (default is 100% = free)
- Activate the recipe
4. Show Popup on Cart Page for High-Value Carts
Goal: Show a promotional popup when the cart total exceeds $100.
| Setting | Value |
|---|---|
| Trigger | Page Visit Trigger |
| Condition 1 | When Page visited is … > the woocommerce cart page |
| Condition 2 | If Shopping Cart total value is … > is greater than > 100 |
| Action | Show Popup to User |
Steps:
- Create a new recipe
- Select Page Visit Trigger
- Add condition: When Page visited is … > select “the woocommerce cart page”
- Add condition: If Shopping Cart total value is … > “Cart Subtotal” > “is greater than” > enter “100”
- Add action: Show Popup to User with title “Special Offer!” and your message
- Activate the recipe
5. Send Data to External Webhook on Order
Goal: POST order data to an external system (e.g., Zapier) when an order is completed.
| Setting | Value |
|---|---|
| Trigger | Order Status Change Trigger |
| Condition | When new order status is … > Completed |
| Action | Send HTTP POST to Another Server |
Steps:
- Create a new recipe
- Select Order Status Change Trigger
- Add condition: When new order status is … > select “Completed”
- Add action: Send HTTP POST to Another Server
- Enter the webhook URL (e.g., your Zapier webhook URL)
- Add field rows with the data to send:
- Field:
email, Value:{{WPUser:user_email}} - Field:
order_id, Value:{{WCOrder:OrderId}} - Field:
total, Value:{{WCOrder:order_total}}
- Field:
- Activate the recipe
6. Auto-Apply Coupon for Returning Customers
Goal: Automatically apply a coupon when a returning customer visits the checkout page.
| Setting | Value |
|---|---|
| Trigger | Checkout Trigger |
| Condition 1 | If user is logged-in in WordPress |
| Condition 2 | If contact’s tags in Keap … > has one or more: Returning Customer |
| Action | Auto-apply WooCommerce Coupon |
Steps:
- Create a new recipe
- Select Checkout Trigger
- Add condition: If user is logged-in in WordPress
- Add condition: If contact’s tags in Keap … > “has one or more of these tags” > select “Returning Customer”
- Add action: Auto-apply WooCommerce Coupon > enter the coupon code
- Activate the recipe
7. Generate Unique Coupon After Purchase
Goal: Create a unique coupon code for the customer after their first purchase.
Prerequisites: Create a WooCommerce coupon starting with template_ (e.g., template_thankyou with 10% discount).
| Setting | Value |
|---|---|
| Trigger | Purchase Trigger |
| Action 1 | Generate WooCommerce Coupon Code |
| Action 2 | Update Contact Record in Keap (optional: save code to custom field) |
Steps:
- Create a new recipe
- Select Purchase Trigger
- Add action: Generate WooCommerce Coupon Code
- Select the coupon template
- Set prefix (e.g.,
THANKS-) and length (e.g., 8) - Optionally check “Limit coupon usage to current email address”
- (Optional) Add action: Update Contact Record in Keap to save
{{Woocommerce:LastCouponCode}}to a custom field - Activate the recipe
8. Product Category Discount for Tagged Contacts
Goal: Apply a 20% discount on a specific product category for contacts with a “Loyalty” tag.
| Setting | Value |
|---|---|
| Trigger | Page Visit Trigger |
| Condition | If contact’s tags in Keap … > has one or more: Loyalty |
| Action | Apply Discount to Products > from certain product category |
Steps:
- Create a new recipe
- Select Page Visit Trigger
- Add condition: If contact’s tags in Keap … > “has one or more of these tags” > select “Loyalty”
- Add action: Apply Discount to Products
- Enter discount:
20% - Set “Products to Discount” to “From certain product category…”
- Select the product category
- Activate the recipe
9. Webhook Integration (Incoming)
Goal: Receive data from an external system and apply a Keap tag.
| Setting | Value |
|---|---|
| Trigger | HTTP POST Trigger |
| Action | Apply Keap Tags to Contact |
Steps:
- Create a new recipe
- Select HTTP POST Trigger
- The webhook URL will appear — copy it
- Add action: Apply Keap Tags to Contact > select your tag
- Activate the recipe
- Configure the external system to send POST requests to the webhook URL
- The POST data must include an email field (one of:
Email,email,email_address)
10. Update WooCommerce Order Status After Keap Sync
Goal: Change order status to “completed” after the order is synced to Keap.
| Setting | Value |
|---|---|
| Trigger | Purchase Trigger |
| Action | Update Order Record in WooCommerce |
Steps:
- Create a new recipe
- Select Purchase Trigger
- Add action: Update Order Record in WooCommerce
- Select field: “Order Status”, value: “completed”
- Set “Order ID to Update” to “Triggered Order’s ID”
- Activate the recipe