<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:forest="https://app.forestadmin.com" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0hdve55" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.6.1"><bpmn:process id="Process_1s8zutc" isExecutable="false"><bpmn:startEvent id="StartEvent_0b1zhsz" name="Start of workflow"><bpmn:outgoing>Flow__65xznbc</bpmn:outgoing></bpmn:startEvent><bpmn:SequenceFlow id="Flow__65xznbc" sourceRef="StartEvent_0b1zhsz" targetRef="Activity__71nirts" /><bpmn:ServiceTask id="Activity__71nirts" name="Get refund request details" forest:description="Retrieve the following information from the refund request:&#10;- Reference&#10;- Request Date&#10;- Amount&#10;- Status&#10;- Reason&#10;- Reason details" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__65xznbc</bpmn:incoming><bpmn:outgoing>Flow__vvm2pz5</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__vvm2pz5" sourceRef="Activity__71nirts" targetRef="Activity__0h5rcr3" /><bpmn:ServiceTask id="Activity__0h5rcr3" name="Get Stripe Payment Intent" forest:description="Load the Stripe Payment Intent related to the refund" forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__vvm2pz5</bpmn:incoming><bpmn:outgoing>Flow__frxrjg9</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__frxrjg9" sourceRef="Activity__0h5rcr3" targetRef="Activity__nn48pjv" /><bpmn:ServiceTask id="Activity__nn48pjv" name="Get payment intent details" forest:description="Retrieve the payment intent&#39;s Amount, Channel, Status, Date, and ID" forest:alternative="get-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__frxrjg9</bpmn:incoming><bpmn:outgoing>Flow__ir2inm0</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__ir2inm0" sourceRef="Activity__nn48pjv" targetRef="Gateway__fsmp0rl" /><bpmn:ExclusiveGateway id="Activity__potxpm8" name="Amount eligibility" forest:description="Was the transaction under our EUR500 eligibility threshold?" forest:aiDecision="true"><bpmn:incoming>Flow__mfuu3qf</bpmn:incoming><bpmn:outgoing>Flow__bgbxmjm</bpmn:outgoing><bpmn:outgoing>Flow__zy9phd0</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__bgbxmjm" name="Yes, under EUR500" sourceRef="Activity__potxpm8" targetRef="Activity__64zolu7" /><bpmn:SequenceFlow id="Flow__zy9phd0" name="No, above EUR500" sourceRef="Activity__potxpm8" targetRef="Activity__oimfgg6" forest:buttonColor="yellow" /><bpmn:ExclusiveGateway id="Gateway__fsmp0rl" name="Request within 30 days?" forest:description="Was the refund request submitted within 30 days of the transaction date?" forest:aiDecision="true"><bpmn:incoming>Flow__ir2inm0</bpmn:incoming><bpmn:outgoing>Flow__mfuu3qf</bpmn:outgoing><bpmn:outgoing>Flow__0klt0v1</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__mfuu3qf" name="Yes, within 30 days" sourceRef="Gateway__fsmp0rl" targetRef="Activity__potxpm8" /><bpmn:SequenceFlow id="Flow__0klt0v1" name="No, after 30 days" sourceRef="Gateway__fsmp0rl" targetRef="Activity__nuewp5i" forest:buttonColor="red" /><bpmn:ServiceTask id="Activity__nuewp5i" name="Decline refund" forest:description="Trigger the Decline Refund action, and specify that the request was sent to us after the 30-day window of eligibility for a refund." forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__0klt0v1</bpmn:incoming><bpmn:outgoing>Flow__erk31od</bpmn:outgoing></bpmn:ServiceTask><bpmn:endEvent id="Activity__hjy76gz" name="Refund request denied" forest:description="The customer was not refunded."><bpmn:incoming>Flow__5okdqrv</bpmn:incoming><bpmn:incoming>Flow__r2nbbd6</bpmn:incoming></bpmn:endEvent><bpmn:IntermediateThrowEvent id="Activity__oimfgg6" name="Escalation" forest:inboxId="8744462d-6eb9-49a3-bcf5-7bbf9876a58b"><bpmn:incoming>Flow__zy9phd0</bpmn:incoming><bpmn:outgoing>Flow__atc0udh</bpmn:outgoing></bpmn:IntermediateThrowEvent><bpmn:SequenceFlow id="Flow__atc0udh" sourceRef="Activity__oimfgg6" targetRef="Activity__q6qf6zc" /><bpmn:userTask id="Activity__q6qf6zc" name="Further analysis"><bpmn:incoming>Flow__atc0udh</bpmn:incoming><bpmn:outgoing>Flow__697u6v7</bpmn:outgoing></bpmn:userTask><bpmn:SequenceFlow id="Flow__697u6v7" sourceRef="Activity__q6qf6zc" targetRef="Activity__b7v5z2m" /><bpmn:ExclusiveGateway id="Activity__b7v5z2m" name="Approve refund?"><bpmn:incoming>Flow__697u6v7</bpmn:incoming><bpmn:outgoing>Flow__twx3boo</bpmn:outgoing><bpmn:outgoing>Flow__9f4do2w</bpmn:outgoing></bpmn:ExclusiveGateway><bpmn:SequenceFlow id="Flow__twx3boo" name="Approve" sourceRef="Activity__b7v5z2m" targetRef="Activity__64zolu7" forest:isLinkTo="true" /><bpmn:SequenceFlow id="Flow__9f4do2w" name="Decline" sourceRef="Activity__b7v5z2m" targetRef="Activity__2f2xssm" forest:buttonColor="red" /><bpmn:ServiceTask id="Activity__2f2xssm" name="Decline refund" forest:description="Trigger the Decline refund, and specify your reason for denying the customer&#39;s request." forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__9f4do2w</bpmn:incoming><bpmn:outgoing>Flow__5okdqrv</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__5okdqrv" sourceRef="Activity__2f2xssm" targetRef="Activity__hjy76gz" forest:isLinkTo="true" /><bpmn:ServiceTask id="Activity__q4xklmv" name="Update request status" forest:description="Update the refund request&#39;s status to APPROVED" forest:alternative="update-data" forest:automaticCompletion="true"><bpmn:incoming>Flow__lo65zu6</bpmn:incoming><bpmn:outgoing>Flow__b7kllis</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__b7kllis" sourceRef="Activity__q4xklmv" targetRef="Activity__4oh7ya5" /><bpmn:endEvent id="Activity__xfuoxz2" name="Customer refunded" forest:description="The customer will be refunded following their request, since it falls within our policy."><bpmn:incoming>Flow__x189tjd</bpmn:incoming></bpmn:endEvent><bpmn:ServiceTask id="Activity__1eiku5g" name="Load Customer" forest:description="Load the customer related to the transaction" forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__erk31od</bpmn:incoming><bpmn:outgoing>Flow__26yl9k8</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__26yl9k8" sourceRef="Activity__1eiku5g" targetRef="Activity__wemk7mz" /><bpmn:callActivity id="Activity__wemk7mz" name="Notify Customer via Zendesk" calledElement="71f692b4-fe4f-476d-8251-fdc5af1ec51e"><bpmn:incoming>Flow__26yl9k8</bpmn:incoming><bpmn:outgoing>Flow__r2nbbd6</bpmn:outgoing></bpmn:callActivity><bpmn:SequenceFlow id="Flow__r2nbbd6" sourceRef="Activity__wemk7mz" targetRef="Activity__hjy76gz" /><bpmn:ServiceTask id="Activity__4oh7ya5" name="Load Customer" forest:description="Load the customer related to the transaction." forest:alternative="load-related-record" forest:automaticCompletion="true"><bpmn:incoming>Flow__b7kllis</bpmn:incoming><bpmn:outgoing>Flow__da16bar</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__da16bar" sourceRef="Activity__4oh7ya5" targetRef="Activity__dvjmdl9" /><bpmn:callActivity id="Activity__dvjmdl9" name="Notify via Zendesk" calledElement="71f692b4-fe4f-476d-8251-fdc5af1ec51e"><bpmn:incoming>Flow__da16bar</bpmn:incoming><bpmn:outgoing>Flow__x189tjd</bpmn:outgoing></bpmn:callActivity><bpmn:SequenceFlow id="Flow__x189tjd" sourceRef="Activity__dvjmdl9" targetRef="Activity__xfuoxz2" /><bpmn:ServiceTask id="Activity__64zolu7" name="Trigger refund" forest:description="Create the refund on Stripe, using the payment intent ID, amount, and refund reason gathered earlier" forest:alternative="mcp-server" forest:mcpServerId="120" forest:automaticExecution="true" forest:automaticCompletion="true"><bpmn:incoming>Flow__twx3boo</bpmn:incoming><bpmn:incoming>Flow__bgbxmjm</bpmn:incoming><bpmn:outgoing>Flow__lo65zu6</bpmn:outgoing></bpmn:ServiceTask><bpmn:SequenceFlow id="Flow__lo65zu6" sourceRef="Activity__64zolu7" targetRef="Activity__q4xklmv" /><bpmn:SequenceFlow id="Flow__erk31od" sourceRef="Activity__nuewp5i" targetRef="Activity__1eiku5g" /></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1s8zutc"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0b1zhsz"><dc:Bounds x="182" y="352" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="159" y="395" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0f4hxrm_di" bpmnElement="Activity__71nirts"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0eeccn8_di" bpmnElement="Activity__0h5rcr3"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_1k3wosz_di" bpmnElement="Activity__nn48pjv"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway_0eqij6h_di" bpmnElement="Activity__potxpm8" isMarkerVisible="true"><dc:Bounds x="50" y="60" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="38" y="117" width="83" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway__fsmp0rl_di" bpmnElement="Gateway__fsmp0rl" isMarkerVisible="true"><dc:Bounds x="75" y="75" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="61" y="132" width="88" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_0azqwsm_di" bpmnElement="Activity__nuewp5i"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1djzujf_di" bpmnElement="Activity__hjy76gz"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="33" y="103" width="76" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_1n67dj2_di" bpmnElement="Activity__oimfgg6"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="43" y="103" width="51" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_008vycv_di" bpmnElement="Activity__q6qf6zc"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Gateway_1j0vn31_di" bpmnElement="Activity__b7v5z2m" isMarkerVisible="true"><dc:Bounds x="50" y="60" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="37" y="117" width="82" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_1nayz8e_di" bpmnElement="Activity__2f2xssm"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity_1goqrcx_di" bpmnElement="Activity__q4xklmv"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Event_03mqbrj_di" bpmnElement="Activity__xfuoxz2"><dc:Bounds x="50" y="60" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="51" y="103" width="48" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__1eiku5g_di" bpmnElement="Activity__1eiku5g"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__wemk7mz_di" bpmnElement="Activity__wemk7mz"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__4oh7ya5_di" bpmnElement="Activity__4oh7ya5"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__dvjmdl9_di" bpmnElement="Activity__dvjmdl9"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id="Activity__64zolu7_di" bpmnElement="Activity__64zolu7"><dc:Bounds x="50" y="60" width="100" height="80" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNEdge id="Flow__65xznbc_di" bpmnElement="Flow__65xznbc"><di:waypoint x="182" y="370" /><di:waypoint x="166" y="370" /><di:waypoint x="166" y="100" /><di:waypoint x="150" y="100" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__vvm2pz5_di" bpmnElement="Flow__vvm2pz5"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__frxrjg9_di" bpmnElement="Flow__frxrjg9"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__ir2inm0_di" bpmnElement="Flow__ir2inm0"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="75" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__bgbxmjm_di" bpmnElement="Flow__bgbxmjm"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="-4" y="22" width="53" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__zy9phd0_di" bpmnElement="Flow__zy9phd0"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="62" /><bpmndi:BPMNLabel><dc:Bounds x="61" y="22" width="51" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__0klt0v1_di" bpmnElement="Flow__0klt0v1"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="51" y="52" width="84" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__mfuu3qf_di" bpmnElement="Flow__mfuu3qf"><di:waypoint x="100" y="75" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="85" /><bpmndi:BPMNLabel><dc:Bounds x="46" y="22" width="68" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__atc0udh_di" bpmnElement="Flow__atc0udh"><di:waypoint x="68" y="60" /><di:waypoint x="68" y="40" /><di:waypoint x="88" y="40" /><di:waypoint x="68" y="40" /><di:waypoint x="68" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__697u6v7_di" bpmnElement="Flow__697u6v7"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="85" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__twx3boo_di" bpmnElement="Flow__twx3boo"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="13" y="22" width="41" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__9f4do2w_di" bpmnElement="Flow__9f4do2w"><di:waypoint x="75" y="60" /><di:waypoint x="75" y="40" /><di:waypoint x="95" y="40" /><di:waypoint x="75" y="40" /><di:waypoint x="75" y="60" /><bpmndi:BPMNLabel><dc:Bounds x="68" y="22" width="37" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__5okdqrv_di" bpmnElement="Flow__5okdqrv"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="0" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__b7kllis_di" bpmnElement="Flow__b7kllis"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__26yl9k8_di" bpmnElement="Flow__26yl9k8"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__r2nbbd6_di" bpmnElement="Flow__r2nbbd6"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="0" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__da16bar_di" bpmnElement="Flow__da16bar"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__x189tjd_di" bpmnElement="Flow__x189tjd"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="0" y="40" /><di:waypoint x="0" y="0" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__lo65zu6_di" bpmnElement="Flow__lo65zu6"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id="Flow__erk31od_di" bpmnElement="Flow__erk31od"><di:waypoint x="100" y="60" /><di:waypoint x="100" y="40" /><di:waypoint x="120" y="40" /><di:waypoint x="100" y="40" /><di:waypoint x="100" y="60" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>