Ingredients
Shopify, Freshdesk, and Kodif.
What are AI Policies?
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 refers to a customer’s request to cancel their order after it has been placed. This is a critical function as it directly affects inventory management, customer satisfaction, and revenue forecasting. Handling these requests efficiently ensures that customers feel heard and valued, reducing potential churn and enhancing loyalty. An automated policy for handling order cancellations can streamline this process, offering customers alternatives to cancellation and retaining orders wherever possible, thus balancing customer satisfaction with business objectives.
Which Platforms does this AI policy work on?
This AI policy is specifically designed to work on Shopify, Freshdesk, and Kodif. However, Kodif integrates seamlessly with all other major platforms, ensuring a broad application across various e-commerce and customer support systems.
When should I use this policy?
This policy should be used when customers wish to cancel their orders and the process includes a retention step. Its logic is designed to explore retention options before proceeding with the cancellation, providing customers with alternatives that may persuade them to retain their orders.
- Customer wants to proceed with the cancellation in the #Single_order_cancellation_policy – Provide Cancellation Alternatives.
Once the order is selected, offer retention options to prevent cancellation:
- 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. - 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, e.g., a 20% coupon for their next order, if they keep the current order.
- Discount Offer: Use
Confirm Retention Decision
- Ask the user if they are interested in one of the retention options.
- 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.
- Apply the agreed-upon retention offer using the relevant tools (
If the user declines:
- Proceed with the order cancellation as described in the #Single_order_cancellation_policy.
Post-Retention Follow-up:
- 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).
Ensure the user receives a follow-up message confirming that their retention offer has been applied.
Escalation:
- If the user has any additional concerns or issues regarding the retention offer, route the case to an agent for further assistance.
- In cases where the user insists on canceling despite the retention offers, proceed with cancellation as outlined in the cancellation policy.
Policy logic
This policy should be used when customers wish to cancel their orders and the process includes a retention step.
- Customer wants to proceed with the cancellation in the #Single_order_cancellation_policy – Provide Cancellation Alternatives.
Once the order is selected, offer retention options to prevent cancellation:
- 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. - 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, e.g., a 20% coupon for their next order, if they keep the current order.
- Discount Offer: Use
Confirm Retention Decision
- Ask the user if they are interested in one of the retention options.
- 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.
- Apply the agreed-upon retention offer using the relevant tools (
If the user declines:
- Proceed with the order cancellation as described in the #Single_order_cancellation_policy.
Post-Retention Follow-up:
- 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).
Ensure the user receives a follow-up message confirming that their retention offer has been applied.
Escalation:
- If the user has any additional concerns or issues regarding the retention offer, route the case to an agent for further assistance.
- In cases where the user insists on canceling despite the retention offers, proceed with cancellation as outlined in the cancellation policy.
Example policy
This policy should be used when customers wish to cancel their orders and the process includes a retention step.
- Customer wants to proceed with the cancellation in the #Single_order_cancellation_policy – Provide Cancellation Alternatives.
Once the order is selected, offer retention options to prevent cancellation:
- 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. - 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, e.g., a 20% coupon for their next order, if they keep the current order.
- Discount Offer: Use
Confirm Retention Decision
- Ask the user if they are interested in one of the retention options.
- 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.
- Apply the agreed-upon retention offer using the relevant tools (
If the user declines:
- Proceed with the order cancellation as described in the #Single_order_cancellation_policy.
Post-Retention Follow-up:
- 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).
Ensure the user receives a follow-up message confirming that their retention offer has been applied.
Escalation:
- If the user has any additional concerns or issues regarding the retention offer, route the case to an agent for further assistance.
- In cases where the user insists on canceling despite the retention offers, proceed with cancellation as outlined in the cancellation policy.