PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
(claude-5-sonnet)
Token size
1,984
Example input
[After payment, automatically create the order and email the customer their download link.]: After payment, automatically create the order and email the customer their download link. [The customer was charged successfully but never received the product.]: The customer was charged successfully but never received the product. [The download email should arrive within one minute after successful payment.]: The download email should arrive within one minute after successful payment. [Payment shows successful. The order remains pending and no delivery email appears in the email history.]: Payment shows successful. The order remains pending and no delivery email appears in the email history. [The checkout form was edited yesterday.]: The checkout form was edited yesterday.
Example output
AUTOMATION ROOT CAUSE REPORT 1. QUICK DIAGNOSIS Payment completed successfully, but the automation appears to have failed before the order reached the state required for delivery. The earliest visible failure is not the missing email. It is that the order remained pending after a successful payment. Because no delivery email appears in the email history, the email step most likely never became eligible to run. The checkout form change from yesterday is a strong lead because it could have changed data passed into the automation, but it is not yet proof of cause. Root cause not yet confirmed. Confidence: MEDIUM. First investigation: inspect one failed transaction and determine whether the successful-payment event entered the order-processing automation, and what happened immediately afterward. 2. EXPECTED FLOW Successful payment → payment event enters automation → checkout/order data is received → required conditions pass → order is created or updated as paid/ready → download information becomes available → delivery email is triggered → email is successfully sent → customer receives download link within one minute 3. OBSERVED FLOW Customer payment succeeds → payment is recorded as successful [CONFIRMED] → payment event reaches automation [UNKNOWN] → checkout data is accepted correctly [UNKNOWN] → order processing runs successfully [LIKELY NO] → order remains pending [CONFIRMED] → delivery condition is satisfied [LIKELY NO] → delivery email is generated [LIKELY NO] → no delivery email appears in email history [CONFIRMED] → customer receives nothing [CONFIRMED] The evidence therefore points to a failure upstream of email delivery. 4. FIRST MEANINGFUL DIVERGENCE Expected: Successful payment → order progresses from pending into its deliverable/paid state Observed: Successful payment → order remains pending Why this point matters: The missing email is downstream evidence. If the system only sends the download after the order reaches the appropriate state, an order that never leaves pending would naturally produce no delivery email. The investigation should therefore start around payment-event handling, checkout-data validation, order creation/update, and the conditions between those stages—not inside the email service first. 5. LEADING FAILURE MECHANISM Most likely mechanism: The successful payment was not converted into a completed/ready order because something in the post-payment order-processing path failed or rejected the transaction. A recent checkout-form modification may have changed, removed, renamed, or reformatted a value required by that processing path. Evidence: * Payment succeeded. * Order exists but remains pending. * No delivery email appears in email history. * Checkout form was edited immediately before the reported problem. * These observations are consistent with processing stopping before the delivery-email stage. What is not proven: * We do not know whether the payment trigger actually fired. * We do not know which checkout fields were edited. * We do not know whether any field is mandatory. * We do not know whether a filter or condition rejected the transaction. * We do not know whether order creation and payment-status updates are separate steps. Confidence: MEDIUM The checkout edit is correlated with the failure but should not yet be treated as confirmed causation. 6. ALTERNATIVE HYPOTHESES Hypothesis 1: The checkout edit broke a required field or field mapping used after payment. Supporting evidence: The checkout form changed recently, while payment itself still succeeds. The failure appears downstream of checkout/payment. Contradicting evidence: No actual field values, mapping configuration, or failed execution has been inspected. Missing evidence: Before/after form configuration and the values received by the failed automation execution. Confidence: MEDIUM Hypothesis 2: The successful-payment trigger never reached the fulfillment automation. Supporting evidence: Payment succeeded while the order stayed pending and no email execution is visible. Contradicting evidence: An order exists, which means at least some checkout processing occurred. We do not know whether order creation happened before or after payment. Missing evidence: Trigger/execution history for the affected payment. Confidence: MEDIUM Hypothesis 3: A condition or filter rejected the transaction after the payment event arrived. Supporting evidence: A rejected transaction could leave the order pending and prevent email delivery without causing payment failure. Contradicting evidence: There is no evidence yet that such a filter exists or rejected this transaction. Missing evidence: Automation execution path and condition results. Confidence: MEDIUM–LOW Hypothesis 4: The order update step failed independently of the checkout modification. Supporting evidence: The order remaining pending directly suggests an order-state transition did not complete. Contradicting evidence: No error from the order system has been provided. Missing evidence: Execution/result for the order-status update step. Confidence: MEDIUM Hypothesis 5: The delivery-email action failed independently. Supporting evidence: The customer did not receive an email. Contradicting evidence: No email appears in email history, and the order is still pending. That makes a standalone email-delivery failure a weaker explanation because another failure is already visible earlier in the workflow. Missing evidence: Whether the email action was invoked at all. Confidence: LOW 7. TRIGGER VS CAUSE Trigger: The customer successfully completing payment. Possible change trigger: The checkout form was edited yesterday. This may have exposed the defect, but that relationship is not yet established. Failure mechanism: The workflow appears to stop between successful payment and the transition of the order into a state that permits digital delivery. Contributing conditions: * The automation apparently allows a payment to succeed even when downstream fulfillment fails. * A pending order does not appear to generate an immediate visible alert. * Delivery depends on upstream state being correct, so one failed state transition blocks the customer-facing result. * The checkout change may have introduced incompatible input, but this remains unverified. 8. WHAT TO CHECK NEXT 9. Check: Open the automation execution associated with this exact successful payment. Why: This divides the investigation immediately into "trigger never entered workflow" versus "workflow started and failed later." Result that supports the leading hypothesis: The execution exists and processing stops or branches incorrectly before the order becomes deliverable. Result that rejects it: No execution exists at all. That would move the investigation toward the payment trigger/integration. 2. Check: Inspect the order-processing/status-update step in that execution. Why: The order remaining pending is the earliest confirmed divergence. Result that supports the hypothesis: The step failed, was skipped, rejected the input, or never reached its successful outcome. Result that rejects it: The step reports a verified successful update and the actual order subsequently shows the correct delivery state. 3. Check: Compare the failed transaction's checkout data with one known-good transaction from before yesterday's form edit. Why: This tests the strongest correlation using a small controlled comparison. Look specifically for: * missing value * renamed value * changed value format * empty value * new field replacing an old field * unexpected option/value Result that supports the hypothesis: A value required downstream changed or disappeared only after the form modification. Result that rejects it: Inputs relevant to fulfillment are equivalent and accepted in both executions. 4. Check: Inspect the condition immediately before order completion or email delivery. Why: The trigger may have fired correctly but valid data may now be rejected. Result that supports the hypothesis: The failed order took a rejection/false/skipped path because of a changed value. Result that rejects it: The condition passed normally. 5. Check: Determine whether the email action was ever invoked. Why: This conclusively separates an upstream fulfillment failure from an email-service failure. Result that supports the current diagnosis: No email action was attempted. Result that rejects it: The email action ran and reported an error after order processing completed. 9. FIX PLAN IMMEDIATE RECOVERY First verify that the customer's successful payment belongs to the affected order. Then manually complete the fulfillment safely: successful payment verified → ensure the correct purchased product is associated with the order → provide the intended download link → record that this order was manually recovered Do not charge again or blindly rerun the entire checkout flow, because that could create duplicate orders or duplicate side effects. ROOT FIX If the checkout-form comparison confirms a changed or missing value: Correct the mapping or downstream condition at the component that consumes that value. Prefer: checkout field → one stable value → explicitly mapped into order processing rather than adding another workaround after the pending-order stage. If the payment trigger never fired: Repair the payment-to-automation trigger/integration instead. If the trigger fired but the order update failed: Fix the order-state transition itself and keep the email logic downstream. If the email step actually ran and failed: Then fix the email action separately. The current evidence does not make this the leading candidate. PREVENTION Add a controlled test whenever checkout fields involved in automation are edited. Minimum regression flow: test payment → order transitions correctly → product/download data exists → delivery action runs → email appears in send history Also prevent critical field changes from silently breaking downstream mappings where the automation platform supports stable field identifiers or validation. DETECTION Create a specific exception signal for: payment successful AND order still pending after the normal processing window For this workflow, the expected delivery time is one minute, so a reasonable detection rule would be based on an order remaining pending beyond that expected fulfillment window. The alert should identify at least: * affected order * payment status * current order status * whether fulfillment ran * whether email delivery was attempted This catches the real failure earlier than waiting for a customer complaint. 10. VERIFICATION TEST Test input: Run one controlled purchase using the current checkout form and a safe test-payment method supported by the system. Expected behavior: Payment succeeds → automation receives the event → required checkout values are present → order leaves pending → correct product/download is attached → delivery email is invoked → email appears in email history → message arrives within the expected one-minute window Observe: * payment event * automation execution * input values * branch/filter result * order state * delivery action * email history * final customer message PASS: One payment produces exactly one correct order, the order reaches the intended deliverable state, and exactly one correct delivery email is generated within the required time. FAIL: Any of the following occurs: * payment succeeds with no execution * required checkout data is missing * valid transaction is rejected by a condition * order remains pending * download data is missing * email action never executes * email action errors * duplicate order or email is produced Relevant edge cases: * optional checkout field left empty * altered checkout option/value * customer email containing valid uncommon characters such as `+` * customer refreshes/reloads the confirmation page * payment event arrives twice * temporary downstream failure followed by retry * checkout form edited without changing the visible customer experience The most important duplicate-event requirement is that one payment must not create multiple fulfillment results. 11. MISSING EVIDENCE Automation execution for the failed payment Question answered: Did the successful payment enter the workflow, and exactly where did execution stop? Failed execution's actual input values Question answered: Did the checkout edit change data required by fulfillment? One successful transaction from before the checkout change Question answered: What changed between a working and failing case? Exact checkout-form changes Question answered: Was a relevant field renamed, removed, reformatted, or replaced? Order-processing step result Question answered: Why did the order remain pending? Condition/filter evaluation immediately before fulfillment Question answered: Was the transaction actively rejected rather than failing technically? Email-action execution status Question answered: Was email delivery ever attempted, or is the missing email only a downstream symptom? These gaps are material enough that: Root cause not yet confirmed. 12. PLAIN-ENGLISH BOTTOM LINE WHAT BROKE: The system accepted the customer's payment, but the order did not continue into the state needed to deliver the product. WHY IT BROKE: The strongest current theory is that the post-payment automation received incorrect or incompatible checkout data, potentially related to yesterday's checkout-form edit, causing processing to stop before order completion. This is not yet proven. WHY IT WASN'T CAUGHT EARLIER: The system appears able to record a successful payment while fulfillment remains pending, and there is no supplied evidence of an alert specifically detecting that mismatch. BEST NEXT ACTION: Open the automation run for this exact payment and inspect the first step after the successful-payment event, especially the order-processing step and the values coming from the edited checkout form. HOW TO KNOW IT'S FIXED: A controlled purchase should produce exactly one completed/deliverable order and exactly one correct download email within one minute, with no manual intervention.
Claude

Automation Root Cause Detective

Add to Cart
PromptBase Select
Get this prompt + 9 more with SelectFrom $14/mo · Cancel anytimeFrom $14/mo · Cancel anytime
View Select
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
CLAUDE-5-SONNET
Tested icon
Guide icon
4 examples icon
Free credits icon
Automation broken and you don’t know why? Automation Root Cause Detective turns confusing failures into a clear investigation. Describe what should happen, what went wrong, and any clues you have. It helps uncover the most likely failure point, what to check next, and how to fix and verify it. Great for emails, forms, payments, spreadsheets, AI agents, reminders, orders, and no-code workflows.
...more
Added 3 weeks ago
Report
Browse Marketplace