<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Luis Montoya Martinez</title>
    <description>The latest articles on DEV Community by Luis Montoya Martinez (@luis-montoya).</description>
    <link>https://dev.to/luis-montoya</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4112960%2Fe3a63612-9a39-444d-af66-f2ed364e89c4.png</url>
      <title>DEV Community: Luis Montoya Martinez</title>
      <link>https://dev.to/luis-montoya</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/luis-montoya"/>
    <language>en</language>
    <item>
      <title>Designing reliable appointment confirmations with Google Calendar and WhatsApp</title>
      <dc:creator>Luis Montoya Martinez</dc:creator>
      <pubDate>Mon, 07 Sep 2026 01:50:27 +0000</pubDate>
      <link>https://dev.to/luis-montoya/designing-reliable-appointment-confirmations-with-google-calendar-and-whatsapp-24fg</link>
      <guid>https://dev.to/luis-montoya/designing-reliable-appointment-confirmations-with-google-calendar-and-whatsapp-24fg</guid>
      <description>&lt;p&gt;Many appointment systems solve only the calendar event. Reliability depends on the handoff between the calendar, the messaging provider, and the person who booked the appointment.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practical architecture
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Use the calendar as the source of truth.&lt;/strong&gt; Read availability from the calendar and write the appointment there first. Do not let a message thread become a second, conflicting schedule.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Give every appointment an idempotency key.&lt;/strong&gt; A webhook can be retried, a provider can time out, and a user can click twice. Store a stable appointment ID and make confirmation, rescheduling, and cancellation safe to repeat.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Separate event state from message state.&lt;/strong&gt; An appointment can be confirmed while its reminder is queued, delivered, or failed. Keeping those states separate makes support and retries much easier.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Make time zones explicit.&lt;/strong&gt; Store timestamps in a consistent format, keep the business time zone in the appointment context, and render the final message in the customers time zone. Daylight-saving changes are a common source of avoidable mistakes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Design for opt-in and templates.&lt;/strong&gt; WhatsApp Business messaging has policy and template requirements. Capture consent, use an approved template when a conversation is outside the service window, and provide a clear way for a person to stop receiving messages.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What to measure
&lt;/h2&gt;

&lt;p&gt;A useful minimum dashboard includes confirmation rate, delivery rate, response time, rescheduling rate, cancellation rate, and no-show rate. Track failures by cause: invalid number, provider rejection, expired token, calendar conflict, or an internal retry limit. A single success metric hides where the workflow is actually breaking.&lt;/p&gt;

&lt;h2&gt;
  
  
  A simple failure policy
&lt;/h2&gt;

&lt;p&gt;Retry transient provider and network errors with backoff. Do not retry permanent errors such as an invalid recipient or a rejected template. If a reminder cannot be delivered, surface the problem to the team and keep the appointment visible in the calendar. Silent failure is worse than a manual follow-up.&lt;/p&gt;

&lt;p&gt;The goal is not to send more messages. It is to keep the calendar, customer, and team aligned with the fewest ambiguous states possible.&lt;/p&gt;

&lt;p&gt;Teams that prefer a ready-made workflow can use &lt;a href="https://confirmatodo.com/" rel="noopener noreferrer"&gt;Confirmatodo&lt;/a&gt; to connect Google Calendar with WhatsApp confirmations and reminders.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>backend</category>
      <category>systemdesign</category>
    </item>
  </channel>
</rss>
