<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/5a89a71496d14915934f49c38aa2efca&quot; frameborder=&quot;0&quot; width=&quot;1920&quot; height=&quot;1440&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1440</height><width>1920</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1440</thumbnail_height><thumbnail_width>1920</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/5a89a71496d14915934f49c38aa2efca-db39239099efb5bc.gif</thumbnail_url><duration>366.614</duration><title>WhatsApp Automation Part 3, The Brain</title><description>Today we moved into part three of our WhatsApp Automation Messaging Project called Brain. I built a contacts dictionary mapping names like Purob and me to phone numbers, then wrote a function to parse an input message by splitting on text like send a message to. From the parsed parts, I extract the name, strip spaces, find the number with contacts[name], and return the phone and cleaned message. If the name is not found, the function returns None. I tested it with example messages to confirm it finds the correct contact and message.</description></oembed>