Join Exclusive Live Event in San Francisco: Unlocking AI Impacts for Digitally Native Brands

Order Cancellation: Shopify & Zendesk

Tomek Nowinski
01.05.2025

Share this article

Tomek Nowinski
01.05.2025

Ingredients

Shopify, Zendesk, and Kodif.

What are AI Policies?

ai policies for customer support

At Kodif, we’re excited to announce the launch of Policies—a powerful, dynamic solution designed to revolutionize the way CX managers handle customer support. Unlike traditional flows, which are rigid and complex, Policies empower non-technical users to create and manage customer interactions with ease. Written in natural language, Policies make it simple to define and refine customer experiences without needing to rely on complicated flowcharts or scripting. This approach is not only user-friendly but also self-serve, enabling CX teams to quickly translate existing Standard Operating Procedures (SOPs) into automation, saving valuable time and resources.

The flexibility of Kodif Policies ensures that businesses can offer personalized, context-driven support while continuously improving customer experiences. With Policies, you can experiment with different strategies to optimize outcomes such as CSAT, revenue, and retention—all without the need to rebuild complex workflows. Whether it’s automating routine interactions or testing new approaches for high-stakes scenarios, Policies provide a scalable, adaptable solution that aligns with your business goals. While flows still have their place in sensitive, high-risk situations, Policies offer an agile alternative that helps businesses innovate faster and deliver exceptional, tailored experiences at scale.

“Cancel order” ticket type explained

In customer support, a “Cancel Order” ticket type is used when a customer requests to cancel their purchase. This process is crucial for maintaining customer satisfaction and loyalty. Handling these requests efficiently helps prevent negative experiences and potential churn. The challenge lies in balancing the need to retain the customer with addressing their immediate request. Effective cancellation processes often include retention strategies, such as offering discounts or expedited shipping, to persuade customers to keep their orders. By automating these interactions with AI policies, businesses can streamline operations and enhance the customer experience.

Which Platforms does this AI policy work on?

This AI policy is designed to work on Shopify, Zendesk, and Kodif. Moreover, Kodif integrates seamlessly with all other major platforms, ensuring a flexible and robust solution for diverse operational environments.

When should I use this policy?

This policy should be used when customers want to cancel orders, and the process includes a retention step. By implementing this policy, businesses can effectively manage cancellation requests while offering alternatives that may convince the customer to retain their order.

Policy logic

The logic to follow when using this policy is straightforward and intuitive. Type @ to view available tools, use # to reference policies, and add contextual data with $. You can also edit the context in the test screen.

  1. When a customer wants to proceed with the cancellation as per the #Single_order_cancellation_policy:
  2. Provide Cancellation Alternatives:

    • Discount Offer: Use @set_discount_to_order to offer a discount (e.g., 10% or 15%) on the current order if the user decides to retain it.
    • Shipping Upgrade: Offer an expedited shipping upgrade free of charge to incentivize the user to keep their order.
    • Product Swap: Offer the option to swap the item for another product of the same or higher value at no extra cost.
    • Future Discount: Offer a discount for a future purchase, such as a 20% coupon for their next order, if they keep the current order.
  3. Confirm Retention Decision:

  4. Ask the user if they are interested in one of the retention options.
  5. If the user accepts:
    • Apply the agreed-upon retention offer using the relevant tools (@set_discount_to_order, @upgrade_shipping, or other applicable retention tools).
    • Inform the user that the order has been updated, and provide them with the relevant details (e.g., new discount, shipping upgrade, etc.).
    • Use @send_async_message(message: str) to notify the user that their order has been successfully updated with the retention offer.
    • Shopify will also send a confirmation email detailing the order update.
  6. If the user declines:

    • Proceed with the order cancellation as described in the #Single_order_cancellation_policy.
  7. Post-Retention Follow-up:

  8. If the user accepts the retention offer, thank them for choosing to keep their order and reiterate any benefits or bonuses (e.g., a future discount).
  9. Ensure the user receives a follow-up message confirming that their retention offer has been applied.

  10. Escalation:

  11. If the user has any additional concerns or issues regarding the retention offer, route the case to an agent for further assistance.
  12. In cases where the user insists on canceling despite the retention offers, proceed with cancellation as outlined in the cancellation policy.

Example policy

When should we use this policy? Use this policy when customers want to cancel orders and the process calls for a retention step.

Describe the logic Type @ to view available tools, use # to reference policies, and add contextual data with $. You can also edit the context in the test screen.

  1. Customer wants to proceed with the cancellation in the #Single_order_cancellation_policy – Provide Cancellation Alternatives.
  2. Discount Offer: Use @set_discount_to_order to offer a discount (e.g., 10% or 15%) on the current order if the user chooses to retain it.
  3. Shipping Upgrade: Offer an expedited shipping upgrade free of charge to incentivize the user to keep their order.
  4. Product Swap: Offer the option to swap the item for another product of the same or higher value at no extra cost.
  5. Future Discount: Offer a discount for a future purchase, e.g., a 20% coupon for their next order, if they keep the current order.

  6. Confirm Retention Decision:

  7. Ask the user if they are interested in one of the retention options.
  8. If the user accepts:
    • Apply the agreed-upon retention offer using the relevant tools (@set_discount_to_order, @upgrade_shipping, or other applicable retention tools).
    • Inform the user that the order has been updated, and provide them with the relevant details (e.g., new discount, shipping upgrade, etc.).
    • Use @send_async_message(message: str) to notify the user that their order has been successfully updated with the retention offer.
    • Shopify will also send a confirmation email detailing the order update.
  9. If the user declines:

    • Proceed with the order cancellation as described in the #Single_order_cancellation_policy.
  10. Post-Retention Follow-up:

  11. If the user accepts the retention offer, thank them for choosing to keep their order and reiterate any benefits or bonuses (e.g., a future discount).
  12. Ensure the user receives a follow-up message confirming that their retention offer has been applied.

  13. Escalation:

  14. If the user has any additional concerns or issues regarding the retention offer, route the case to an agent for further assistance.
  15. In cases where the user insists on canceling despite the retention offers, proceed with cancellation as outlined in the cancellation policy.

Explore more AI policies

Share this article

Related Articles

Go the extra mile,
without lifting a finger.