[DP-20] ID-Based Action Path

Problem

Users need to regularly update business records.

What does this pattern do?

Update specific business records within a system by specifying their ID & the details of the change. Inform the user about any success or fail.

[object Object]
Gwen11:43 AM

I just got off a call with a vendor and we need to add some funds to their PO.

[object Object]
Moveworks11:43 AM

Which PO do you need to add funds to?

[object Object]
Gwen11:43 AM

PO123

[object Object]
Moveworks11:43 AM

What's the new dollar value of the PO?

[object Object]
Gwen11:43 AM

$4567.89

[object Object]
Moveworks11:43 AM

Thanks. I've submitted your request for more funds to be added to that purchase order.

Example Use Cases

  1. Finance: Add funds to a purchase order
  2. T&E: Cancel a flight booking
  3. Project Management: Mark Jira ticket as complete

Design Considerations

Design time

Run time

  • Bot will assume the name or ID is an exact match
  • Bot will ask all questions sequentially & will not "shortcut"
  • Bot will only inform the user if the API action succeeded or failed.