Text AI Customer Service Webhook Application: Checking Inventory, Eligibility for Discounts, and Writing Feedback Leads
When information is stored in an in-house order system or CRM, Text's custom skills can call external services via Webhook. The knowledge base answers according to fixed rules, while the business system is responsible for returning the status that changes over time.

First, choose a read-only requirement, such as querying the shipping status of an order. Clearly define which verified information is required as input, and ensure the output only contains the fields needed for this transaction. Validate for record found, no record found, and service timeout separately to avoid guaranteeing shipment to the buyer even if the query fails.
Eligibility for discounts should be determined by the business system. Instead of having the model guess an available discount code, let the system decide whether to display the discount based on the returned results. List expired, claimed, and ineligible discount codes as test cases, and verify the wording the buyer ultimately sees.
Writing leads to the CRM or creating work orders are operations with side effects. Design deduplication rules for duplicate submissions and timeout retries, record the business request number, and restrict the read/write scope. Perform end-to-end verification on isolated test data before integrating real sales leads.



