Urgent.News

What's breaking now, across thousands of outlets.

Tech

Add an FAQ bot and appointment booking to any website with 3 API calls

Most small-business sites need the same two things: answer the five questions everyone asks ("what are your hours?", "how much is…?") and let people book. Building a booking backend for every client is a waste of a week. Here's how to do both with three HTTP calls, using CallChatSyn's API (free for the first 1,000 businesses). 0. Try it right now (no account) There's a public demo key,…

Adding an FAQ bot and appointment booking to any website can be accomplished in just three API calls, using CallChatSyn's API which is free for the first 1,000 businesses. To get started, you need to make a few HTTP calls.

First, you can try it out immediately using a public demo key, ccs_demo_public, which answers as a demo business. For example, you can ask "Where are you located?" and the bot will respond with "We're at our main location, details on our website."

Once you're ready to implement your own FAQs and real bookings, you'll need to create an account at callchatsyn.com and confirm your email. Then, add some FAQs and your opening hours under the Dashboard. Set your time zone in Dashboard → Booking Page and create an API key under Developers → Claim founder API access. Keep this key secret and only share it with your server, as it should never be included in browser code.

The bot can handle various types of queries, such as booking requests, order status questions, and "talk to a person" requests in English and Chinese. When the bot receives a question, it sends an HTTP request to the /answer endpoint, passing the message and receiving a reply with the intent, language, a match flag, and a reply.

To list the open times and book an appointment, you can make HTTP requests to the /slots and /bookings endpoints, respectively. The /slots endpoint provides the available times, services, and locations based on the business's offerings. In contrast, the /bookings endpoint allows you to book an appointment by providing the desired time, service, name, and email.

Lastly, to implement a tiny website widget using a server route and 30 lines of JavaScript, you can set up an Express server that forwards user questions to the CallChatSyn API. The widget consists of a simple form with an input field for the user's question and a send button. The JavaScript code listens for form submission, sends a POST request to the server, and displays the bot's response in the designated log area on the page.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

A threshold is a policy, not a number

A threshold is a policy, not a number Somewhere in a payments codebase there is a line that says: approve automatically when confidence is above 0.8. Nobody remembers the afternoon it was written.

  • The 0.8 confidence threshold in payments codebases determines automatic refunds or human review.
  • The origin of the 0.8 value is unclear, stemming from various unrelated sources.
  • Setting the threshold improperly can cause irreversible damage or hidden costs for the business.

I Traced Unbound's DNSSEC Heap Overflow: 4 Checks to Run

[ attacker's zone ] ──► ┌────────────────────────────┐ │ Unbound (recursive, DNSSEC)│ │ CVE-2026-81642 CWE-122 │ │ DNSKEY -> digest buffer │ └────────────────────────────┘ A compression pointer inside…

  • Unbound has heap overflow in DNSSEC validator
  • CoreDNS accepts unauthenticated DNS UPDATEs over encrypted transport
  • Both vulnerabilities affect all releases up to 1.26.0

The Task Ahead of STN as National Telecoms Licence Operator in Nigeria

After 28 years of operating skeletal telecoms services under the umbrella, Swift Telephone Network (STN) has become a full-fledged telecoms operator after being granted the Universal Access Service…

  • Swift Telephone Network (STN) secured UASL from NCC, enabling nationwide telecom services.
  • Post-2017 revival, Oluwole Adetuyi focused on regulatory compliance before receiving UASL in 2022.

Rust's derive often implies inline

  • Rust #[derive] often adds #[inline] to core traits like Debug
  • Inlining Debug implementations can significantly increase binary size
  • Preventing inlining can reduce binary size by 160KB in some cases

More from Sunday 4 October →