<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Usman Aslam on Medium]]></title>
        <description><![CDATA[Stories by Usman Aslam on Medium]]></description>
        <link>https://medium.com/@usmanaslam712?source=rss-b2e15488406d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9GO-R_ZkI7BXJcfb5arG-Q.jpeg</url>
            <title>Stories by Usman Aslam on Medium</title>
            <link>https://medium.com/@usmanaslam712?source=rss-b2e15488406d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 18:19:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@usmanaslam712/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Managing n8n Multi-User OAuth Without the Headaches]]></title>
            <link>https://medium.com/@usmanaslam712/solving-n8ns-multi-user-credential-nightmare-with-mcp-gateways-354b2c12b307?source=rss-b2e15488406d------2</link>
            <guid isPermaLink="false">https://medium.com/p/354b2c12b307</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[n8n]]></category>
            <category><![CDATA[model-context-protocol]]></category>
            <category><![CDATA[workflow]]></category>
            <category><![CDATA[low-code]]></category>
            <dc:creator><![CDATA[Usman Aslam]]></dc:creator>
            <pubDate>Fri, 16 Jan 2026 13:16:53 GMT</pubDate>
            <atom:updated>2026-01-19T17:34:54.461Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NPKrbDdqlkUJE7VauVTFAQ.png" /></figure><p>When it comes to automation and agentic flows, tools like n8n are one of the most highly regarded and powerful workflow automation platform that lets you connect services, APIs, and tools visually.</p><p>However, if you have tried building workflows, the usual nightmare of managing everyone’s credentials comes into play.</p><h3>n8n’s Credential Limitation</h3><p>Let’s say you’re building an internal tool where team members can trigger a workflow to:</p><ol><li>Create a Google Doc in their own Drive</li><li>Send an email from their own Gmail</li></ol><p>Sounds simple. Here’s how it typically goes in n8n for 3 users:</p><ul><li>User 1 — Create Gmail credential for User 1, Create Google Drive credential for User 1</li><li>User 2 — Create Gmail credential for User 2, Create Google Drive credential for User 2</li><li>User 3 — Create Gmail credential for User 3, Create Google Drive credential for User 3</li></ul><p>For 3 users, that’s 6 credentials.</p><p>But what if it was for 50 users? 100 credentials and separate workflows or complex branching logic to route each request to the right credential.</p><p>In the end:</p><ul><li>Every new user = new credential setup</li><li>Credentials are managed inside n8n (security concern)</li><li>Doesn’t scale — 50 users means 50 OAuth setups</li><li>No clean audit trail per user</li></ul><p>This leads to either a common alternative I observed the n8n community implementing, such as:</p><ul><li>Creating an external database with credential storage</li><li>A separate workflow for OAuth capture</li><li>Another workflow with database query logic</li><li>Managingthe token refresh mechanism</li><li>Maintaining the User ID routing system</li><li>Ensuring row-level security in the database</li></ul><p>Considering the length of this solution, this led to that one beautiful single flow automation you had in mind turning into credential chaos!</p><p>That’s where there are alternatives (not hacks) to solve this problem, allowing you to take advantage of n8n’s powerful capabilities while ensuring you’re able to serve countless users without juggling databases.</p><p>In this blog, we’ll build a simple n8n blog that can work for multiple users and do simple tasks like create a Google Doc based on the requirement and then send emails to your colleague using MCP Gateways.</p><p><strong><em>Disclaimer:</em></strong><em> This blog is not considered to deviate users from n8n but rather complements n8n’s existing capabilities by connecting with other tools.</em></p><h3>Dynamic Multi-Tenant Auth with MCP Gateways</h3><p>Another alternative is utilizing multi-tenancy with MCP Gateways.</p><blockquote>In simpler terms, an MCP Gateway is a bridge that connects AI models and clients with external apps, tools, and data services in a standardized, secure, and unified manner while still utilizing the Model Context Protocol.</blockquote><p>For this tutorial, I’ll be using <strong>Fastn UCL’s MCP Gateway (</strong><a href="https://fastn.ai/">https://fastn.ai/</a>), which allows builders to connect to 1000+ tools with little to no code while ensuring complete observability and multi-tenant support. One thing about Fastn, which I genuinely like, is its ease of usage with a few clicks rather than deep diving into too many technicalities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*92dHYTRcEfCuo6CK.png" /></figure><p>Instead of creating credentials for each user in n8n, you will be able to:</p><ol><li>Have users authenticate once in Fastn (OAuth with Google, Slack, etc.)</li><li>Pass a tenant_id parameter in your workflow</li><li>The MCP Gateway routes the request to that specific user’s credentials</li></ol><h3>What we’ll be building</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OVE3etB7KSfd4FaliJJADA.png" /></figure><p>A webhook-triggered n8n workflow that:</p><ol><li>Receives a request with user_id, client_name, and recipient_email</li><li>Creates a Google Doc titled “Client Report — {client_name}” in <strong>that user’s</strong> Drive</li><li>Sends an email from <strong>that user’s</strong> Gmail notifying the recipient</li><li>Returns a success response</li></ol><p>In this workflow, you’ll only have to type in your user ID, and the n8n workflow will handle everything accordingly.</p><p><strong>Please note that, for simply understanding the problem we are trying to solve, I have kept the guide as simple as possible. More complex versions will come soon.</strong></p><h3>Prerequisites</h3><p>Before we start, you’ll need:</p><ul><li>An n8n account — a free trial can also do the trick.</li><li>A Fastn account with your MCP Gateway configured.</li><li>Multiple users/tenants are authenticated to Google services in Fastn.</li></ul><p>For this tutorial, we will connect to the following applications:</p><ul><li>Google Docs</li><li>Gmail</li></ul><h3>Getting started with Fastn UCL</h3><p>To get started with Fastn UCL, head over to <a href="https://fastn.ai/">https://fastn.ai/</a> and sign up for a new account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FuF3uMIMW8HoTHYH.png" /></figure><p>Once signed up, simply select your favourite apps and services and enable any or all of the tools as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q-oJo726XCZv4UuY.gif" /></figure><p><strong>Tip: </strong>To ensure your apps and services work perfectly its always a good practice to enable all of the tools so that your client can execute your commands correctly.</p><p>Then, on the top of your main page, you’ll find your Gateway URL, copy it as it will be used later on:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KlZ2ab3-2mBOzJeYCF7IKw.png" /></figure><h4>Set up your multi-users</h4><p>You can easily set up your users by simply pasting the following URL and typing in your desired tenant and connecting them to the respective services:</p><p><strong>Tip: </strong>Ensure you add your Project ID or Space ID, which can be found directly in the Integrate section of Fastn.</p><pre>https://live.fastn.ai/app/connectors/widget?projectId=&lt;Enter your project ID or space ID&gt;&amp;tenantId=&lt;Enter your desired user name&gt;&amp;customAuth=true</pre><p><strong>Alternatively you can also head into playground mode</strong> to connect the users to their specific accounts and to ensure the right credentials are used:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MckKvyW0rDcwNsAsOQMZXw.gif" /></figure><h3>Creating the Workflow Structure</h3><p>In n8n, create a new workflow with the following nodes in the following:</p><pre>Webhook → Init MCP Session → Create Google Doc → Send Gmail → Respond to Webhook</pre><h3>Step 1: Configure the Webhook Trigger</h3><p>Add a <strong>Webhook</strong> node as your trigger by heading over to the + icon on the right-hand side of your workflow builder and search the term “webhook”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*5vnlLUZzU_9GskgZan98gQ.png" /></figure><p>Then implement the following as shown here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*aiJBB0LA9C7pk9G2tAdU7g.png" /></figure><ul><li><strong>HTTP Method</strong>: POST</li><li><strong>Path</strong>: client-report</li><li><strong>Respond</strong>: Using ‘Respond to Webhook’ Node</li></ul><p>This will give you a URL such as:</p><pre>https://your-n8n.app.n8n.cloud/webhook/client-report</pre><h3>Step 2: Initialize the MCP Session</h3><p>This is crucial as Fastn’s MCP Gateway uses a streamable HTTP transport, which requires session initialization. You can find an HTTP request node by searching it after clicking on the “+” icon on the right-hand side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*70p7RdDkhkdhMIfl88r3LA.png" /></figure><p>Connect the <strong>HTTP Request</strong> node to the Webhook trigger, and you can name it “Init MCP Session”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*UZNtQwTEZUgPDfSEo_ybzw.png" /></figure><p><strong>URL from Fastn </strong>(use Expression mode in n8n):</p><pre>https://mcp.ucl.dev/mcp/?space_id=YOUR_SPACE_ID&amp;tenant_id={{ $json.body.user_id }}&amp;auth_token=YOUR_AUTH_TOKEN&amp;id=YOUR_GATEWAY_ID</pre><p><strong>Headers</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*Px6ZdjTWH9APPBOGsnsQTw.png" /></figure><ul><li>Content-Type: application/json</li></ul><p><strong>Body</strong> <strong>type as JSON</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*W416iyFa455nUQkvowUb0g.png" /></figure><p>You can copy and paste the JSON as it is below:</p><pre>{<br>  &quot;jsonrpc&quot;: &quot;2.0&quot;,<br>  &quot;id&quot;: 0,<br>  &quot;method&quot;: &quot;initialize&quot;,<br>  &quot;params&quot;: {<br>    &quot;protocolVersion&quot;: &quot;2024-11-05&quot;,<br>    &quot;capabilities&quot;: {},<br>    &quot;clientInfo&quot;: {<br>      &quot;name&quot;: &quot;n8n-client&quot;,<br>      &quot;version&quot;: &quot;1.0.0&quot;<br>    }<br>  }<br>}</pre><p><strong>Important</strong>: Enable “Full Response” in options to capture the mcp-session-id header.</p><p><strong>Tip: </strong>Notice the tenant_id={{ $json.body.user_id }} and this is where the magic happens. Our tenant ID acts as a variable, and whatever user_id comes in the webhook request becomes the tenant, routing to that user&#39;s credentials.</p><h3>Step 3: Create the Google Doc node</h3><p>Add another <strong>HTTP Request</strong> node named “Create a Google Doc”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N_DMev6IDT-ODyHGhOJxRQ.png" /></figure><p><strong>URL</strong> (Expression mode):</p><p>Set the URL in Expression mode and paste it in the following format.</p><pre>https://mcp.ucl.dev/mcp/?space_id=YOUR_SPACE_ID&amp;tenant_id={{ $(&#39;Webhook&#39;).item.json.body.user_id }}&amp;auth_token=YOUR_AUTH_TOKEN&amp;id=YOUR_GATEWAY_ID</pre><p><strong>Headers</strong>:</p><p>Ensure the following headers are in the following format</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*OBUozUm1l1xn4btxK6BFYg.png" /></figure><ul><li>Content-Type: application/json</li><li>mcp-session-id: {{ $(&#39;Init MCP Session&#39;).item.json.headers[&#39;mcp-session-id&#39;] }}</li></ul><p><strong>Body</strong> (Expression mode):</p><p>Set the body in expression mode and implement as follows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*NklVxHN0igK6uoC7CQp8-w.png" /></figure><p>You can find the JSON below:</p><pre>{<br>  &quot;jsonrpc&quot;: &quot;2.0&quot;,<br>  &quot;id&quot;: 1,<br>  &quot;method&quot;: &quot;tools/call&quot;,<br>  &quot;params&quot;: {<br>    &quot;name&quot;: &quot;createDoc&quot;,<br>    &quot;arguments&quot;: {<br>      &quot;body&quot;: {<br>        &quot;title&quot;: &quot;Client Report - {{ $(&#39;Webhook&#39;).item.json.body.client_name }}&quot;<br>      },<br>      &quot;param&quot;: {},<br>      &quot;connection&quot;: {}<br>    }<br>  }<br>}</pre><p>The mcp-session-id header maintains session continuity from the init call.</p><h3>Step 4: Send the Gmail Notification</h3><p>Add another <strong>HTTP Request</strong> node and name it “Send Gmail Notification”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ddG8vVqeOwG4qb3JsoaMQ.png" /></figure><p><strong>URL</strong>: Same pattern as above, with dynamic tenant_id</p><p><strong>Headers</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*MkArFlYIVL9aY_c1GJugFA.png" /></figure><ul><li>Content-Type: application/json</li><li>mcp-session-id: {{ $(&#39;Init MCP Session&#39;).item.json.headers[&#39;mcp-session-id&#39;] }}</li></ul><p><strong>Body</strong> (Expression mode):</p><pre>{<br>  &quot;jsonrpc&quot;: &quot;2.0&quot;,<br>  &quot;id&quot;: 2,<br>  &quot;method&quot;: &quot;tools/call&quot;,<br>  &quot;params&quot;: {<br>    &quot;name&quot;: &quot;sendMail&quot;,<br>    &quot;arguments&quot;: {<br>      &quot;body&quot;: {<br>        &quot;to&quot;: &quot;{{ $(&#39;Webhook&#39;).item.json.body.recipient_email }}&quot;,<br>        &quot;subject&quot;: &quot;Report Ready: {{ $(&#39;Webhook&#39;).item.json.body.client_name }}&quot;,<br>        &quot;content&quot;: &quot;Hi,\n\nThe client report for {{ $(&#39;Webhook&#39;).item.json.body.client_name }} has been created.\n\nBest regards&quot;<br>      }<br>    }<br>  }<br>}</pre><p>Notice there’s no from field as Gmail will automatically use the authenticated user&#39;s email address based on the tenant_id. This is key for true multi-user support!</p><h3>Step 6: Add the Response Node</h3><p>Add a <strong>Respond to Webhook</strong> node and connect as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RFvtw2I-T2ziu-OMObNGjw.png" /></figure><p><strong>Respond With</strong>: JSON</p><p><strong>Response Body</strong> (Expression mode):</p><pre>{<br>  &quot;success&quot;: true,<br>  &quot;user&quot;: &quot;{{ $(&#39;Webhook&#39;).item.json.body.user_id }}&quot;,<br>  &quot;client&quot;: &quot;{{ $(&#39;Webhook&#39;).item.json.body.client_name }}&quot;,<br>  &quot;message&quot;: &quot;Report created and email sent&quot;<br>}</pre><h3>Testing the Multi-User magic</h3><p>Now for the exciting part. Save your workflow and let’s test it.</p><p>Run your workflow or click on the first node, and click on <strong>Listen for test event and you’ll recieve a link to copy.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*9aaRhgRpSBZvkW4FPs1neg.png" /></figure><p>Once you have copied the URL, <strong>open your terminal</strong> and execute the follow commands as shown below, make sure you fill the commands with the following details:</p><ul><li>Your listen test event URL</li><li>Your username in the user_id section.</li><li>The person you want to send the email to.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c5t53YImrNOm2_rxtfV9Qg.png" /><figcaption>Command executed in terminal</figcaption></figure><p><strong>Test with User 1:</strong></p><pre>curl -X POST &quot;https://your-n8n.app.n8n.cloud/webhook/client-report&quot; \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;user_id&quot;: &quot;username1&quot;, &quot;client_name&quot;: &quot;Acme Corp&quot;, &quot;recipient_email&quot;: &quot;recipient@example.com&quot;}&#39;</pre><p><strong>Test with User 2:</strong></p><pre>curl -X POST &quot;https://your-n8n.app.n8n.cloud/webhook/client-report&quot; \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;user_id&quot;: &quot;username2&quot;, &quot;client_name&quot;: &quot;Beta Inc&quot;, &quot;recipient_email&quot;: &quot;recipient@example.com&quot;}&#39;</pre><p><strong>What happens next:</strong></p><ul><li>n8n identifies the correct gateway and user.</li><li>Executes in creating a Google Doc in the user’s Docs.</li><li>Sends an email via Gmail using the user’s email to the recipient.</li></ul><h3>Why this matters</h3><p>Comparatively, we can observe the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4dHz1uGqSizKVG9KtWYffQ.png" /></figure><p>For enterprises, agencies, or anyone building multi-tenant automations, this is transformative and requires less hassle and resources.</p><h3>Wrapping Up</h3><p>Throughout this tutorial, we built a single n8n workflow that:</p><ul><li>Accepts dynamic user_id parameters</li><li>Routes requests to the correct user’s credentials via Fastn’s MCP Gateway</li><li>Creates documents and sends emails as different users</li><li>Scales without additional workflow or credential complexity</li></ul><p>And all of this was possible with a little MCP gateway magic!</p><p>The tenant_id parameter is what makes it multi-user — everything else stays the same. No more credential nightmare. No more workflow duplication. Just clean, scalable multi-user automation.</p><p><strong>For the direct code, you can visit this GitHub repo here: </strong><a href="https://github.com/usmanaslam712/n8n-multiuser-OAuth">https://github.com/usmanaslam712/n8n-multiuser-OAuth</a></p><h3>Want to learn more</h3><p>For a more detailed overview of Fastn UCL, check out my beginner guide here: <a href="https://medium.com/swlh/the-model-context-protocol-gap-and-how-unified-context-layer-fills-it-38b71adccc13">The Model Context Protocol Gap and How Unified Context Layer Fills It</a></p><p>For any questions or queries, or just for a random talk on all things tech, MCPs, and low-code, feel free to hit me up:</p><ul><li><strong>X</strong>: <a href="https://x.com/usmanaslam712">https://x.com/usmanaslam712</a></li><li><strong>LinkedIn</strong>: <a href="https://www.linkedin.com/in/usmanaslam712/">https://www.linkedin.com/in/usmanaslam712/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=354b2c12b307" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to turn n8n into the simplest automation platform with Model Context Protocol Gateways]]></title>
            <link>https://medium.com/@usmanaslam712/how-to-turn-n8n-into-the-simplest-automation-platform-with-model-context-protocol-gateways-9d019ac31732?source=rss-b2e15488406d------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d019ac31732</guid>
            <dc:creator><![CDATA[Usman Aslam]]></dc:creator>
            <pubDate>Thu, 04 Dec 2025 17:29:58 GMT</pubDate>
            <atom:updated>2025-12-04T17:29:58.761Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eCgXKym3J8woHy4DvsRcMg.png" /></figure><p>If you’ve ever used n8n or are just curious about it, you already know why builders, teams, and founders love it. It’s visual, flexible, and surprisingly powerful for a low-code workflow engine.</p><p>The most common thing builders focus on how many solutions a singular flow can derive, leading to complexity and the need for more scalability.</p><h3>Where the complexity arises</h3><p>However, once you scale your automations, you end up integrating with countless tools, dozens of SaaS APIs, and also defining their custom logic, which is where the loopholes start to appear, such as:</p><ul><li>Too many credentials to manage</li><li>Too many API schema differences</li><li>Too many “workarounds” for missing actions</li><li>Too much debugging across dozens of nodes</li></ul><p>What this results in is your flow breaking down, leading to inconsistent and inaccurate results, and at times hallucinations.</p><p>Overall, as your workflows scale, you’ll realize the common pattern:</p><h4>1. Every app behaves differently</h4><p>Different authentication means different APIs with different limits, hence leads to different error responses. You end up writing custom HTTP requests or scripting nodes.</p><h4>2. Maintaining credentials is a nightmare</h4><p>If you work in teams, rotating credentials is a pain, which leads to shifting environments and workflows breaking down.</p><h4>3. Custom logic is scattered everywhere</h4><p>If you’re someone who eagerly works daily with databases and CRMs or any form of analytical or internal tracking tool, then you’ll see your custom logic flying everywhere, leading to inaccurate results.</p><p>By now, we have understood that:</p><blockquote>Not all complex looking n8n flows always result in accurate results.</blockquote><p>But these are not n8n problems, but rather they’re <strong>integration problems, </strong>because n8n gives you the canvas to build workflows the integrations depend on the user building the flow.</p><h3>How MCP Gateways can make n8n seem easier</h3><p>By now, it&#39;s pretty clear that complexity isn&#39;t the key, but it also means there&#39;s a need for simplified integrations, which is where MCP gateways come into play. To better understand what an MCP Gateway is:</p><blockquote>An MCP Gateway is a bridge that connect AI models and clients with external apps, tools, and data services in a standardized, secured and unified way while still harnessing the Model Context Protocol.</blockquote><p>Think of an MCP Gateway as an entire circuit board, whereas the standalone MCP is a simple plug or switch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Jl_OvXiy7hr9rVs-.png" /></figure><p>In a nutshell, with an entire gateway, you can:</p><ul><li>Work with countless services and applications without juggling APIs, URLs, actions, and more.</li><li>You get to see what happens and why it is happening in the first place.</li><li>Every tool you use becomes n8n-ready.</li><li>Debugging takes less time as your flow is less complex.</li></ul><h3>Building the simplest n8n flow with Fastn UCL</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KwSF3aJBduUpgMEmdliYxQ.png" /></figure><p>For tutorial purposes, I’ll be taking advantage of Fastn UCL’s MCP gateway, which allows AI builders to connect their AI Agents and workflows to 1000+ tools with little to no code while ensuring complete observability and control.</p><p>Fastn UCL acts as this all-in-one platform that’s designed to work with MCPs in a much easier way. Think of it as all of your favourite services integrated into one singular gateway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*i5byUzuxwhxFllwG.png" /></figure><h4>What will we be achieving in this blog</h4><ul><li>Create a flow that’s hooked with your LLM and MCP gateway.</li><li>Build a flow that can create an entire process and execution in just 1–2 steps.</li></ul><h4>Pre-requisites</h4><ul><li>A Fastn UCL account.</li><li>An n8n account.</li></ul><h4>Setting up Fastn UCL</h4><ul><li>To get started with Fastn UCL, head over to <a href="https://fastn.ai/">https://fastn.ai/</a> and sign up for a new account:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xsItaio5OGrXuSvr.png" /></figure><ul><li>Once signed up, simply select your favourite apps and services and enable any or all of the tools as shown below:</li></ul><p><strong>Tip: </strong>To ensure your apps and services work perfectly, it&#39;s always a good practice to enable all of the tools so that your flow can be executed correctly.</p><blockquote><strong>For this tutorial, I have enabled Google Docs and Gmail connector to ensure this is beginner friendly for all.</strong></blockquote><ul><li>Then simply copy your MCP server URL.</li></ul><h4>Setting up n8n</h4><ul><li>Head over to <a href="https://n8n.io/">https://n8n.io/</a> and log in or create a new account</li><li>Then, create a new workflow to begin from scratch.</li></ul><p>Next up, we will be needing the following nodes:</p><ul><li>An input chat node.</li><li>An AI Agent node.</li><li>An LLM node.</li><li>An MCP node</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*oaCwBecGbApn1wFPCCWWWw.png" /></figure><ul><li>Select the nodes and connect them accordingly.</li><li>Then head over to the AI Agent node, and ensure you have a similar setup as shown below</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8471fjAoi6DtvFY-ckyngA.png" /></figure><ul><li>You can copy the system message as shown below and paste it in the System Message section in n8n:</li></ul><pre>You are an MCP-enabled agent. A set of tools may be available at runtime, and their names, input schemas, and purposes can vary. Your job is to understand the user&#39;s intent, determine whether any tool can help, and then either execute the appropriate tool or respond normally if no tool is needed.<br><br>Rules:<br>1. Inspect the user&#39;s request and map it to the most relevant tool if one exists.  <br>2. Validate the user&#39;s input against the tool&#39;s schema before calling it.  <br>3. When a tool is appropriate, call it with correct arguments and wait for the tool result before responding.  <br>4. If multiple tools could help, choose the one that best satisfies the user&#39;s goal.  <br>5. If no tool is relevant, answer using your own reasoning.  <br>6. Do not expose internal tool mechanics unless necessary.  <br>7. Always produce helpful, accurate, and actionable responses.<br><br>Your objective is to solve the user&#39;s request by combining reasoning with tool execution wherever beneficial.</pre><ul><li>In the LLM node, connect your preferred LLM and select the model type.</li><li>Finally, we will take the Fastn UCL MCP server URL and head over to the MCP node and paste the URL and ensure the configuration is similar to the image below:</li></ul><p><strong>Tip: </strong>To double-check your MCP, you can easily turn on <strong>Selected </strong>in the <strong>Tools to Include </strong>section, and you’ll be able to see all of the tools that you initially enabled back in Fastn</p><ul><li>Click on the chat feature to see your flow in action</li></ul><p>In my flow, I&#39;m executing the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3rnBnrPqUhJLCyLv4EWeOg.png" /></figure><ul><li>Creating a project requirement document for an application that needs to be developed.</li><li>Create a ticket on Jira accordingly to the PRD.</li><li>Update my colleague on the PRD, send him a copy, and update him on the Jira ticket.</li></ul><p>If everything worked correctly, you should see your flow as such:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*me5v5xZfEJgR_fEIWcynsg.png" /></figure><h4>The result</h4><ul><li>The PRD document</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*LVhhBJxDwvXAuJ17w7YbTA.png" /></figure><ul><li>The Jira ticket was created</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ad1l0syEFqEhgq7i94d2CQ.png" /></figure><ul><li>The email that was sent.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*gsilwJtbSbICTzb4a5KVXQ.png" /></figure><h4>What we achieved</h4><p>By a simple server URL, we were able to achieve the following:</p><ul><li>Create a simple flow in 1–2 steps.</li><li>Avoid complex steps.</li><li>Avoid any form of separate integrations.</li></ul><p>And all of this was possible with a little MCP Gateway magic!</p><p>For a more detailed overview, you can also check out my beginner guide on Fastn UCL here: <a href="https://medium.com/swlh/the-model-context-protocol-gap-and-how-unified-context-layer-fills-it-38b71adccc13">https://medium.com/swlh/the-model-context-protocol-gap-and-how-unified-context-layer-fills-it-38b71adccc13</a></p><h3>Let’s connect!</h3><p>For any questions or queries, or just for a random talk on all things tech, MCPs, and low-code, feel free to hit me up on the following:</p><p><strong>X:</strong> <a href="https://x.com/usmanaslam712">https://x.com/usmanaslam712</a><br><strong>LinkedIn: </strong><a href="https://www.linkedin.com/in/usmanaslam712/">https://www.linkedin.com/in/usmanaslam712/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d019ac31732" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Supercharging Claude Code with MCP Gateways]]></title>
            <link>https://medium.com/@usmanaslam712/supercharging-claude-code-with-mcp-gateways-55d77dff91f4?source=rss-b2e15488406d------2</link>
            <guid isPermaLink="false">https://medium.com/p/55d77dff91f4</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[model-context-protocol]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[low-code]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Usman Aslam]]></dc:creator>
            <pubDate>Fri, 28 Nov 2025 00:45:36 GMT</pubDate>
            <atom:updated>2025-11-28T00:45:36.463Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GjGNo_x6c_o8z6pYWFDAvg.png" /><figcaption>Source: Anthropic</figcaption></figure><p>With generative AI coding tools evolving fast, the developer ecosystem prefers more control and accessibility over what they build and how they build it.</p><p>With the release of Claude Opus 4.5, Claude has taken a breakthrough step in transforming the next phase of Software Engineering. This means gen AI tools can develop more complex products while avoiding any form of ambiguity or hallucinations. Benchmark-wise, Claude has an 80.9% higher benchmark than its competitors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rRw-k5MerwIkhlvHGjMDPw.png" /><figcaption>Source: Anthropic</figcaption></figure><h3>Claude + Model Context Protocol — An entire engineering department</h3><p>Despite Claude Code being the software engineer you could collaborate with, its limitations are bound by one thing: it only creates code and deploys said code. But what if Claude Code replaces more than just the typical SWE, but an entire department? Scary but possible?</p><p>In other words, <strong>imagine the following scenario</strong>:</p><blockquote>Your team has to build a mobile application for a client from scratch that provides a travel booking service.</blockquote><h4>Without MCP:</h4><ul><li>Your design team comes up with the high-fidelity design.</li><li>Your project team defines the deliverables and the Project Requirement Document needed to implement.</li><li>The software engineers within the project team work on the development while utilizing AI tools to automate a few processes.</li><li>QA testing is implemented, and the product is finalized</li></ul><h4>With MCP:</h4><ul><li>You provide your AI coding tool with the details of what you want to build.</li><li>You prompt it to fetch existing designs, create the PRD, and build the project accordingly while utilizing a singular resource while managing some testing.</li></ul><h4>The impact?</h4><p>With Model Context Protocol hooked to your favourite coding tool, you converted your team of 10–20 people into 1–2 resources handling the entire project, which shows how in-depth one can go with AI coding tools if harnessed correctly.</p><h3>The current loophole</h3><p>Despite how MCPs can help builders achieve the above, the loophole to this comes in many variations:</p><ul><li>Juggling too many tools and MCP server URLs or JSONs.</li><li>Your coding agent context hallucination when calling upon multiple but similar tools.</li><li>No observability over what exact tool was executed, and even if it was successful in the first place.</li></ul><h3>How MCP gateways makes integrating MCPs easier</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*idtSM9kw-vn-AICloTgf5w.png" /></figure><p>Given the current limitations of a standalone MCP, converting from a standalone engineer to an overall department is a hassle especially if this means connecting different apps and services back and forth.</p><p>This is where MCP gateways can bring much more flexibility in terms of integrating different services and ensuring your AI coding tool works with the correct platform.</p><p>You might be asking,<strong> what is an MCP gateways?</strong></p><blockquote>An MCP Gateway is a bridge that connect AI models and clients with external apps, tools, and data services in a standardized, secured and unified way while still harnessing the Model Context Protocol.</blockquote><p>Before MCP Gateways, AI Builders had to:</p><ul><li>Write every custom API wrapper.</li><li>Maintain separate auth flows.</li><li>Ensure consistent schemas, and more.</li></ul><p>In this blog, we’ll be implementing the following:</p><ul><li>Utilizing an MCP gateway.</li><li>Connecting it to Claude Code</li><li>See it do multiple actions without going off context.</li></ul><h3>Demonstration: Fastn UCL+ Claude Code</h3><p>For this blog, I’ll be taking advantage of Fastn UCL’s MCP gateway which allows AI builders to connect their AI Agents to 1000+ tools with little to no code while ensuring complete observability and control.</p><p>Fastn UCL acts as this all in one platform that’s designed to work with MCPs in a much more easier way. Think of it like all of your favourite services integrated into one singular gateway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*uRJxJ7jdYrB7H7EU.png" /></figure><h4>What will we be doing in this tutorial</h4><ul><li>Create a web app’s project requirement document.</li><li>Email our colleague the PRD details.</li><li>Create the app using the the PRD.</li><li>Deploy the application.</li></ul><h4>Pre-requisites</h4><ul><li>A Fastn account.</li><li>A paid Claude plan.</li><li>Terminal.</li><li>A folder where you will be storing the data.</li></ul><h4>Setting up Fastn UCL</h4><ul><li>To get started with Fastn UCL, head over to <a href="https://fastn.ai/">https://fastn.ai/</a> and sign up for a new account:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y-ljQMKy_YIvVIm4aZQ4-g.png" /><figcaption>Source: Fastn.ai</figcaption></figure><ul><li>Once signed up simply select your favourite apps and services and enable any or all of the tools as shown below:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZzGoMXxrrVlbGryCaz1VwQ.gif" /><figcaption>Source Fastn.ai</figcaption></figure><p><strong>Tip: </strong>To ensure your apps and services work perfectly its always a good practice to enable all of the tools so that your client can execute your prompt correctly.</p><blockquote><strong>For this tutorial, I have enabled Google Docs and Gmail connector.</strong></blockquote><ul><li>Then head over to the <strong>Integrate </strong>section and select <strong>Claude Code </strong>and you’ll find instructions below:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cJn7fUQo6tI4iq5rrLzzGw.png" /></figure><p>Simply follow the inctructions as mentioned.</p><h4>Setting up Claude Code</h4><ul><li>To set up Claude Code, its important to note that <strong>you must have a subscription to Claude in order to access Claude Code.</strong></li></ul><blockquote><strong>For this tutorial we will be using Claude Code on our terminal.</strong></blockquote><ul><li>Once you have a purchased plan, head over to <a href="https://www.claude.com/product/claude-code">https://www.claude.com/product/claude-code</a>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QkZhoWaFW7fDcbijq0G--g.png" /><figcaption>Source: Claude</figcaption></figure><ul><li>Next up, head over to the Quickstart guide within the documentation section or simply click here <a href="https://code.claude.com/docs/en/quickstart">https://code.claude.com/docs/en/quickstart</a></li><li>Follow the quickstart steps and install Claude Code onto your terminal.</li></ul><h4>Setting up your enviornment via Terminal</h4><ul><li>Open your terminal and create a new folder via the command.</li></ul><pre>mkdir &lt;folder-name&gt;</pre><ul><li>If you want to first direct to a specific file and then create the folder then execute the following command.</li></ul><pre>cd &lt;filename&gt;</pre><ul><li>Once you have created your file head into the file by using the same command but using the name of your file.</li></ul><pre>cd &lt;folder-created&gt;</pre><ul><li>Now execute the following command on terminal to call Claude Code.</li></ul><pre>claude</pre><p>By now you should see the following pop up on your terminal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IOxLGIEotKZnR2SGStbRAQ.png" /></figure><ul><li>Now head back to Fastn’s integrate section and copy paste the commands provided on Fastn’s Claude Code section</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*cE11-XP3XZhv-9OXARX6Ig.png" /></figure><p>By now you should see this pop up on your terminal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mbu-kZlcvDNc7ZvMM1GY-Q.png" /></figure><p>To ensure Claude Code can use Fastn UCL’s MCP, make sure to restart Claude Code through the following command:</p><pre>/clear</pre><blockquote><strong>Do not close your terminal to restart Claude Code, always use the Clear command.</strong></blockquote><h4>Seeing it all in action</h4><p>The web app that I have created is a basic library app, but feel free to choose what app you want to build. For the build I used the following prompt:</p><p><strong>&gt; create a google doc called “library-app PRD” and write a project requirement document for a basic library app</strong></p><p>You should see it executing as follows below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PDb72EOe-GQH0kM9GFn0wQ.png" /></figure><p>The result should pop up as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QBWa-bQxNRPWwTRcHr9mEA.png" /></figure><p>The next step is to email our colleague of our PRD so the following prompt has been used:</p><p><strong>&gt; now email [your colleague’s email] that the project has been made and attach the link of the created google doc in the email subject: library app created and in the body write 100 words about the subject</strong></p><p>By now you should see the result as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aVZ1YtU8WrkYfbU6I1j8HQ.png" /></figure><p>The next step is to actually create the app so the prompt I used is as follows:</p><p><strong>&gt; now based on the PRD document create the basic app</strong></p><p>Once you execute the prompt, it will start building the app and once its done building the front and back end and it should give you the following output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dKE0jWr1YYAf6j3cY4hDaA.png" /></figure><h4>The overall result</h4><p>If we look at the overall result:</p><ul><li><strong>The Project Requirement Document for our app</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*owin_d2pgk-TOjHr6CZTZw.png" /></figure><ul><li><strong>The email that was sent to the colleague</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JWlmviRE99yX5YRa1AhwGg.png" /></figure><ul><li><strong>The app that was created via Claude Code</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*ceZ3q0aWcqbOJAvGJFrLHg.png" /></figure><h3>What did we achieve</h3><p>Throughout this blog, we were able to achieve the following:</p><ul><li>Be the project manager and create the PRD.</li><li>Inform our project team.</li><li>Be the developer and deploy the project.</li></ul><p>And all of this was possible with a little MCP gateway magic!</p><p>For a more detailed overview, you can also check out my beginner guide on Fastn UCL here: <a href="https://medium.com/swlh/the-model-context-protocol-gap-and-how-unified-context-layer-fills-it-38b71adccc13">https://medium.com/swlh/the-model-context-protocol-gap-and-how-unified-context-layer-fills-it-38b71adccc13</a></p><h3>Let’s connect!</h3><p>For any questions or queries, or just for a random talk on all things tech, MCPs, and low-code, feel free to hit me up on the following:</p><p><strong>X:</strong> <a href="https://x.com/usmanaslam712">https://x.com/usmanaslam712</a><br><strong>LinkedIn: </strong><a href="https://www.linkedin.com/in/usmanaslam712/">https://www.linkedin.com/in/usmanaslam712/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55d77dff91f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Deadlock of Context Hallucination with Model Context Protocol]]></title>
            <link>https://medium.com/@usmanaslam712/the-deadlock-of-context-hallucination-with-model-context-protocol-f5d9021a9266?source=rss-b2e15488406d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5d9021a9266</guid>
            <category><![CDATA[ai-agents-in-action]]></category>
            <category><![CDATA[model-context-protocol]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Usman Aslam]]></dc:creator>
            <pubDate>Mon, 03 Nov 2025 16:08:35 GMT</pubDate>
            <atom:updated>2025-11-03T17:31:28.200Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/535/0*RXzyGgPiQ5fjVwNl.jpg" /></figure><p>If we talk about the agentic ecosystem, Model Context Protocol, or MCP, has emerged as the new buzzword for bridging models, tools, and data sources. It promises interoperability, allowing any model to communicate with any tool. On paper, it’s a revolutionary step toward a future of more context-driven or intelligent agents.</p><p>But in practice, a deeper and more subtle problem lurks beneath MCPs, one that many MCP contributors, agent builders, and platform engineers are now beginning to face, which is <strong>context hallucination.</strong></p><h3><strong>The new nightmare for Model Context Protocol</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bX-f0ScexvNa2JqH00LVuQ.png" /></figure><p>This isn’t the typical “AI hallucination” you hear about in model responses or a buzz word spoken by others. It’s something far more structural, or in other words, a <em>deadlock</em> created when multiple tools, models, and contexts interact through MCP but fail to maintain a single source of truth.</p><p>At its core, Model Context Protocol defines how models and tools communicate. It creates a way for agents can access tools like Notion, GitHub, or Slack without going through or configuring multiple APIs. For developers, this means less friction. For platforms, it means scalability.</p><p>However, MCP’s current implementation is dependent on a critical assumption that context will always be coherent and synchronized. In reality, this assumption breaks the moment you introduce multiple agents, tools, or users that start operating asynchronously.</p><p>For more in-depth, let&#39;s consider the following example:</p><ul><li>Agent A retrieves a task from Jira.</li><li>Agent B references a related message from Slack.</li><li>Both agents act based on their local context caches.</li><li>The Jira issue gets updated, but the Slack thread doesn’t reflect that change, or doesn&#39;t update users about the respective change.</li></ul><p>The result is <strong>context drift</strong>, which is<strong> a situation where each agent’s understanding of “truth” diverges over time and can vary per prompt to result.</strong></p><p>When this happens repeatedly across hundreds of connectors that are tapped into multiple agents, you end up with <strong>c</strong>ontext hallucination, where the system “believes” in a reality that no longer matches the actual data.</p><p>In the terms of MCP, your agent believes it delivered a result or called an action, but the correct tools weren’t called at all.</p><h3>But what is Context Hallucination?</h3><p>If we dissect this term, the term “hallucination” in the world of AI is giving something plausible that might be incorrect or untrue.</p><p>Now, in terms of MCP:</p><blockquote>Context hallucination is the misalignment between what an AI agent perceives as context and what the real environment actually is when calling upon tools or executing actions via MCPs.</blockquote><p>Suppose you have Gmail and Outlook tied to your AI Agent, you tell it to “send an email,” and the agent calls a tool called <strong>sendMail, </strong>which is called by both Gmail and Outlook, and what happens is either two things:</p><ul><li>Your AI Agent gets confused and doesn’t execute the task.</li><li>The AI Agent executes the task but utilizes the wrong application. (rare case).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VWBt8XRnP66xyMh9Uys47Q.png" /></figure><p>In a real-world scenario, think of it like asking two waiters to give you a single burger, but of a specific kind.</p><p>This normally happens when the state of a tool has changed between context retrieval and execution.</p><p>In other words:</p><blockquote>The agent isn’t hallucinating the response — the protocol calling the action is hallucinating.</blockquote><p>This creates a deadlock where every tool assumes another has the correct context, every agent assumes the model is accurate, and the model assumes the protocol is providing fresh, synchronized information.</p><p>This leads to the system getting trapped and not because it lacks intelligence, but because it lacks contextual coherence.</p><h3>So why does MCP fall into this deadlock?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y1gkYUD3atvYTCEmjN5H2g.png" /></figure><p>To understand why, let’s break down the three architectural weak points that lead to context hallucination:</p><h4>Stateless Context Passing</h4><p>MCP was designed with statelessness in mind. While this simplifies communication, it sacrifices state memory between sessions or agents.</p><p>This leads to agents repeatedly re-fetching data that may already be stale, introducing latency and inconsistency.</p><h4>Decentralized Context Ownership</h4><p>In most MCP implementations, context is distributed; in other words, Notion owns one, Slack owns another, GitHub owns yet another.</p><p>Without a unified layer, no single entity owns the full context in a centralized manner.</p><h4>Model bias towards local context</h4><p>Most models, even those integrated with MCP can rely heavily on local context windows for reasoning.</p><p>So if an agent has partial context from one source, it extrapolates the rest. This is where hallucination emerges, and the model or the agent that has the LLM integrated fills in missing pieces rather than requesting missing context.</p><h3>How unified layers or MCP gateways can break deadlock</h3><p>For <strong>agents to escape this deadlock</strong>, users need more than simple tool calling protocols; in other words, <strong>context infrastructure is needed.</strong></p><p>What this means is that instead of letting every tool be its own truth island, you could easily work with a unified layer that acts as shared memory and as a state manager for agents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0CrwbFuLFa5_QzasOU7PKA.png" /><figcaption>fastn.ai</figcaption></figure><p>This is where <strong>Fastn MCP </strong>comes in, which acts as a unified layer that allows users to work with thousands of tools while ensuring context switching does not lead to hallucination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*kkl6tJiv0vZcXiK9dxcJqA.png" /></figure><p>Think of it like consolidating every other MCP into a singular layer.</p><p>Instead of treating MCP as a bridge between tools, Fastn MCP takes a step forward and acts as a context operating system i.e., a layer that understands, synchronizes, and serves context dynamically.</p><p>In other words, if you’re AI Agent or workflow is calling multiple actions even if they are similar, Fastn checks which action belongs to which application before actually executing the said tool/action.</p><h3>Here’s how Fastn resolves the context hallucination deadlock</h3><h4><strong>Context Unification</strong></h4><p>Fastn doesn’t just connect APIs; it merges contextual states across tools into a single layer that checks before executing.</p><p>That means when an agent asks “What’s the latest on this customer issue?”, Fastn pulls the latest data from Slack, HubSpot, and Notion from verified live states not old data.</p><h4><strong>Context Versioning</strong></h4><p>When an agent acts on outdated context, Fastn can locate and understand the discrepancy, revalidate, or even rollback to the previous state.</p><p>This ensures that agents don’t act on temporal hallucinations i.e., context that was once true but isn’t anymore.</p><h4><strong>Context-Aware Tool Calls</strong></h4><p>Instead of blind tool execution, UCL interprets tool calls through context dependencies.</p><p><strong>For example:</strong></p><p>If an agent tries to close a Jira ticket that’s linked to an open GitHub PR, Fastn double-checks if this is the task that you want to execute before it makes the call.</p><h4><strong>Multi-Agent Context Sharing</strong></h4><p>When multiple agents operate within the same workspace, they share context in real-time.</p><p>This transforms isolated MCP sessions into collaborative environments where every agent “knows” what the others are doing. Fastn has a unique feature called Create an MCP Gateway that allows you to work with different apps for each gateway and connect them to any agent with a particular <strong>agent_id.</strong></p><p>And if that’s not enough, Fastn allows a feature called <strong>workspaces </strong>that allows users to create multiple workspaces that can span across different gateways and serve 1000s of users in one go.</p><h3>How to use Fastn MCP?</h3><p>To deep dive more into this you can check out Fastn MCP at <a href="https://fastn.ai/">https://fastn.ai/</a> and simply sign up for an account and get started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*quV4r1PSI6pSoLCq3OS7Ng.png" /></figure><p>For a more detailed overview, you can also check out my beginner guide on Fastn, which was initially known as Unified Context Layer, here: <a href="https://medium.com/swlh/the-model-context-protocol-gap-and-how-unified-context-layer-fills-it-38b71adccc13">https://medium.com/swlh/the-model-context-protocol-gap-and-how-unified-context-layer-fills-it-38b71adccc13</a></p><h3>Let’s connect!</h3><p>For any questions or queries, or just for a random talk on all things tech and low-code, feel free to hit me up on the following:</p><p><strong>X:</strong> <a href="https://x.com/usmanaslam712">https://x.com/usmanaslam712</a><br><strong>LinkedIn: </strong><a href="https://www.linkedin.com/in/usmanaslam712/">https://www.linkedin.com/in/usmanaslam712/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5d9021a9266" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making OpenAI's AgentKit more context-driven with Unified Context Layer]]></title>
            <link>https://medium.com/@usmanaslam712/making-openais-agentkit-more-context-driven-with-unified-context-layer-4c1a353980e8?source=rss-b2e15488406d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c1a353980e8</guid>
            <dc:creator><![CDATA[Usman Aslam]]></dc:creator>
            <pubDate>Mon, 13 Oct 2025 17:58:28 GMT</pubDate>
            <atom:updated>2025-10-15T12:33:54.894Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kfH7rwODRsfTy_FipHWShA.png" /></figure><p>The AI ecosystem has been blowing up with the recent introduction of OpenAI&#39;s AgentKit release, which, in a nutshell, is the new way of building, deploying, and optimizing agents. Even with the countless possibilities, AgentKit also produces some observed constraints which we’ll deep dive in this blog.</p><h3>What you’ll learn</h3><p>In this blog, you’ll understand everything you need to know from scratch about:</p><ul><li>What is AgentKit all about?</li><li>Its impact and limitations.</li><li>How to build context-driven agents with AgentKit and Unified Context Layer</li></ul><h3>What is AgentKit all about?</h3><p>To give you a summary, it&#39;s primarily your all-in-one AgentKit that allows you to:</p><ul><li><strong>Agent Builder — </strong>Build agentic workflows with a canvas-like user interface.</li><li><strong>ChatKit — </strong>Embed customizable chat bots or similar experiences into your product.</li><li><strong>Connector Registry —A </strong>Centralized place for admins of your org to manage data and tools that connect across OpenAI services.</li></ul><p>To learn more about AgentKit, you can visit their blog <a href="https://openai.com/index/introducing-agentkit/">here</a>.</p><h4>How does it affect the AI ecosystem?</h4><p>With AgentKit, you can see yourself deploying AI agents with little to no code needed. With Agent building becoming more accessible, anyone without a developer mindset can build, test, and deploy agents, reducing dependency on engineering pipelines or resources, while developers can actually focus on fine-tuning or creating custom blocks or connectors.</p><p>In other words, whether you’re someone who never learnt how to code or someone who has been a developer for the last 5 years, anyone can build an AI Agent.</p><h4>How is this different from n8n?</h4><p>Probably the biggest query in your mind must be,</p><p><em>In what way is AgentKit any different from n8n?</em></p><p>While both help automate tasks, the difference comes in terms of the perception of each solution. In other words:</p><ul><li><strong>n8n </strong>is a<strong> workflow engine </strong>that allows users to connect apps through visual nodes and execute them in a fixed sequence.</li><li><strong>AgentKit </strong>is a cognitive agent framework that allows LLMs to act as autonomous agents that can decide what to do next based on what information the agent was provided or what it was trained to do.</li></ul><h3>The hidden constraints in AgentKit</h3><h4>Work with any MCP, but too many MCPs</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rfK9zCYiIrBC1jInvOoWXA.jpeg" /></figure><p>With the Model Context Protocol block in Agent Builder, you can pretty much enable any service or app to work with your desired workflow. The problem arises when you’re aiming to work with more than 5 MCPs, then it normally becomes a tedious time working with the right MCP for your agent.</p><p>This becomes a deeper issue when choosing which tool or action is most needed for your agent over those that aren’t exactly needed.</p><h4>Context switching and hallucination</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*tRNfXWbA3NC3NN4oOjN4Jw.png" /></figure><p>Even though users could select all their actions from their desired MCPs, the problem arises when your agent actually needs to work with them.</p><p><strong>For example:</strong></p><ul><li><strong>An agent is connected to Slack and Notion MCP, and the desired outcome is to summarize recent action items or takeaways mentioned in a desired Slack channel.</strong></li><li>The agent fetches Slack messages correctly, but when switching to Notion, it may forget the context of which channel and end up creating a summary with incorrect data.</li><li>At times, the agent may even hallucinate the missing context by inventing key takeaways that weren’t discussed in the first place</li></ul><p>This happens because <strong>MCP doesn’t preserve the shared session context between servers</strong>. Each MCP is isolated, so the LLM and the model you choose must rely on its internal memory of text rather than structured relationships.</p><p>As a result, this leads to confident but incorrect outputs given by your agent.</p><h3>Where Unified Context Layer saves the day</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*z6Glto8V7_W23x6CLA-KrQ.png" /></figure><p>With Unified Context Layer, any agent that you build with AgentKit can achieve the same context as standard MCP, but while also ensuring:</p><ul><li>Accurate context switching.</li><li>Less hallucination while working with hundreds of tools in one go.</li><li>Complete observability and control.</li></ul><p>As the name shows, Unified Context Layer is a singular layer or MCP gateway that allows your agents to connect to thousands of tools with little to no glue code needed.</p><h3><strong>Example: An agent that turns a design into a working app</strong></h3><p>To demonstrate Unified Context Layer’s native power, we’ll be creating a context-driven agent on AgentKit while utilizing UCL that can connect to around 50+ tools in one go. The agent will do the following:</p><ul><li>Fetch designs from a Figma file</li><li>Convert into code.</li><li>Push it to GitHub as a pull request into the repository of your choosing.</li></ul><h4><strong>Creating an agent via Agent Builder on AgentKit</strong></h4><ul><li>Head over to <a href="https://platform.openai.com/agent-builder">https://platform.openai.com/agent-builder</a> and click on “Create a workflow”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P7NsOYi40Zg90HsbocxRBw.png" /></figure><ul><li>By default, you’ll have a default flow waiting for you as shown below:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TNIxWSk2Snp76zTl7Cv0NQ.png" /></figure><ul><li>Click on the “My Agent” core and hit backspace or delete to remove it</li><li>Next up, we’ll be utilizing the MCP functionality, for which we will need to set up our MCP via Unified Context Layer.</li></ul><h4>Setting up your UCL account + workspace</h4><ul><li>Head over to <a href="https://ucl.dev/">https://ucl.dev/</a> and click on the <strong>“Sign Up”</strong> button as highlighted in the image below</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*vaeNEoY9WBT1vcogh1qDug.png" /></figure><p><strong>Keep in mind: </strong>UCL works on a freemium model, so you can try it out for free without entering any payment details</p><ul><li>Once signed up, by default, you’ll be provided with a default workspace.</li></ul><h4>Connect your apps and tools</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4NHRxvTgxA1sTjon7Y7-Jg.png" /></figure><p>Head over to <strong>Connect apps</strong>, and select <strong>GitHub and Figma. </strong>For the backend, you can additionally set up the<strong>MongoDB </strong>connector as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HmrFuU0a51u6asp2c-npgA.png" /></figure><p><strong>Tip: </strong>With Unified Context Layer, the actions are already mapped beforehand, you only need to pick and choose or select all of the actions as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n0yPnRH6YK4e2mHMfozZkQ.png" /></figure><h4><strong>Access your server URL</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*lW35zRYAbRxpco1S_svNfw.png" /></figure><p>Then simply head over to the main page, and on the top righ,t you’ll see an <strong>MCP server </strong>button. Simply click on the button, and your server URL is copied to be implemented.</p><h4>Using UCL in Agent Builder</h4><p>Head back to Agent Builder and select “MCP” as provided on the left-hand side, click on the “MCP” node, and a pop-up as given below will be provided.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*LNa5-EYpL2ShOnmtpT8oNw.png" /></figure><p>Click on “+ Server” and fill in the following details of your MCP as provided below. Keep in mind to choose <strong>Authentication as None</strong> for this tutorial.</p><p>In the URL section, simply paste the MCP Server URL that you copied from UCL earlier, and paste it into the server details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*xU7MjAfoqdGKd-KNPgfprw.png" /></figure><p>After defining your MCP server, connect it to the “Start” node, similar to the image below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*uRwpiV9EIrshMQKiHo1o7A.png" /></figure><p>Once connected, you should be able to see all the tools and details of the MCP server, as shown</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aACMXHdEudHEVd55dzF7_g.png" /></figure><h4><strong>Training your agent flow</strong></h4><p>Click on the MCP you had set up and you’ll see this pop up on the right side where you can select your preferred model and provide your instructions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*ByzUP5zV2LOc6MXdGl0j8Q.png" /></figure><p>Then copy and paste the prompt and implement it into the MCP as provided below:</p><pre>You are a design-to-code agent that can handle full Figma designs.<br><br>Goal:<br>1. When I say “convert the entire design” or “convert everything,”<br>   → use the Unified Context Layer (UCL) Figma connector to fetch ALL top-level frames or pages from the provided Figma file.<br>   → treat each frame as a separate page or section in the generated frontend.<br>   → skip only hidden layers or components marked with a ⚙️ emoji or “template” in their name.<br>   → if I only give a single frame name, convert just that one.<br><br>2. If I haven’t given a Figma file link (or key), ask for it and stop until I provide it.<br><br>3. Once you have the Figma file:<br>   - Extract every visible frame and its child components.<br>   - Build frontend code using **Next.js + Tailwind CSS (TypeScript)**.<br>   - Create:<br>       • One page per frame (e.g., /home, /about, /contact).<br>       • Shared components in /components.<br>       • Tokens (colors, text styles, spacing) in tailwind.config.js.<br>       • Assets (SVG/PNG) in /public/assets/figma.<br>       • README-FIGMA-MAPPING.md showing which Figma frames map to which pages.<br><br>4. Show me a summary with:<br>   - List of frames processed<br>   - Generated file list<br>   - Any skipped or low-confidence layers<br>   - Example of one page’s code snippet<br><br>5. Then say: “Do you want me to publish this as a PR?” and wait.<br><br>Rules:<br>- Do not ask for the frame name if I said “convert the entire design.”<br>- Stop if I haven’t given the Figma link yet.<br>- Never publish without approval.</pre><p>In this prompt, our agent is analyzing the design on Figma, gathering the nodes, components, and frames, and then converting it into code that can be published on GitHub.</p><h4><strong>Additional layer: Add approval and conditions (optional)</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QdMrHlkB0MqvIXxoGghclw.png" /></figure><p>Additionally, if you wish to add a layer of human approval, simply head to the <strong>Logic </strong>section on the left-hand side and select the <strong>Approval and If/else </strong>button.</p><p>This will allow your agent to have an extra layer of human presence with some conditional actions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*edVJ5Z73MK1TSb82igNVPg.png" /></figure><p>Once your design has been converted into code, the code will be pushed to your GitHub with a repository of your choosing as a pull request. This additional layer will allow you to choose if you want to approve the PR or not.</p><p>If you approve, the agent will move to the next steps; otherwise, the flow will end.</p><h4>Adding the final touches</h4><p>In the final section, you’ll utilize the same UCL MCP but with a change in the instructions. Simply copy the same MCP connector, drag it after the conditional connectors, and head into the settings to change the prompt to the following:</p><pre>You now have approval to publish a PR.<br><br>Steps:<br>1) Ask me for:<br>   - GitHub owner/repo (e.g., fastn/www)<br>   - Base branch (default: main if I don&#39;t specify)<br>   - Branch name (suggest: feat/figma-to-code-&lt;frame-slug&gt; if I don&#39;t specify)<br><br>2) When you have repo + base branch (and branch name, or your suggestion):<br>   - Create/ensure the feature branch from base<br>   - Commit the previously generated files (grouped commits: tokens → components → page; binaries base64)<br>   - Open a PR with title: “feat: &lt;frame name&gt; from Figma”<br>   - PR body includes: summary, file list, and note about any low-confidence items<br>   - Return only the PR URL at the end<br><br>Rules:<br>- Never write outside /app, /components, /public/assets, /styles, /lib.<br>- Skip any asset &gt;5MB and mention it in the PR body.<br>- If branch already exists, add a numeric suffix.</pre><p>Once the instructions are added, select the <strong>End </strong>node to conclude your agent.</p><h4>Overall result</h4><p>Once you have finalized your agent, on the right hand side click on publish and click on the preview button to see your agent in action</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G2fv1ohzN2oyMNwOc96kJQ.png" /></figure><p>Once your agent has executed the entire process from design to code you should see your outputawaiting for you on your GitHub repository. Below is a sample design from taking a simple login app and publishing its code into GitHub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f83BpxfyAA7QelrtoTtSDA.png" /><figcaption><strong>Input: </strong>Initial design on Figma</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WX4Ysz-10y5AABexu7RFAg.png" /><figcaption><strong>Output: </strong>Code published on GitHub</figcaption></figure><h3>What have we achieved</h3><p>By harnessing AgentKit’s Agent Builder and Unified Context Layer, we have now built an agent that works not only with a singular MCP but allows you to ensure proper context switching, reduce agent hallucination, tool call confusion while ensuring you can comfortably work with 100+ tools without deciding what tool you should pick.</p><h3>Want to learn more about Unified Context Layer?</h3><p>If you’re curious to learn more about UCL or getting in-depth knowledge on each aspect of how you can vibe with MCPs in general, I highly recommend checking out their documentation section here: <a href="https://docs.fastn.ai/ucl-unified-command-layer/about-fastn-ucl">https://docs.fastn.ai/ucl-unified-command-layer/about-fastn-ucl</a></p><p>You can also simply check out this blog on Unified Context Layer here and understand how it differs from standard MCP: <a href="https://medium.com/@usmanaslam712/the-model-context-protocol-gap-and-how-ucl-fills-it-38b71adccc13">https://medium.com/@usmanaslam712/the-model-context-protocol-gap-and-how-ucl-fills-it-38b71adccc13</a></p><h3>Lets Connect</h3><p>For any questions or queries, or just for a random talk on all things tech and low-code, feel free to hit me up on the following:</p><p><strong>X:</strong> <a href="https://x.com/usmanaslam712">https://x.com/usmanaslam712</a><br><strong>LinkedIn: </strong><a href="https://www.linkedin.com/in/usmanaslam712/">https://www.linkedin.com/in/usmanaslam712/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c1a353980e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Model Context Protocol gap and how Unified Context Layer fills it]]></title>
            <link>https://medium.com/swlh/the-model-context-protocol-gap-and-how-unified-context-layer-fills-it-38b71adccc13?source=rss-b2e15488406d------2</link>
            <guid isPermaLink="false">https://medium.com/p/38b71adccc13</guid>
            <category><![CDATA[unified-context-layer]]></category>
            <category><![CDATA[aiagentsdevelopment]]></category>
            <category><![CDATA[model-context-protocol]]></category>
            <category><![CDATA[low-code]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Usman Aslam]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 16:29:27 GMT</pubDate>
            <atom:updated>2025-08-23T16:20:29.023Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Model Context Protocol gap and how UCL fills it</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t-idxhozsiK2XkiIU2enAw.png" /></figure><p>If you’re someone who is building AI Agents or thinking of adding an AI functionality to your existing product, you might have heard of this term called <strong>MCP or Model Context Protocol</strong>. It&#39;s everywhere! From our favorite apps like Zapier, Notion, and more, almost everything is now associated with an MCP one way or the other.</p><p>However, even with all the amazing capabilities of MCPs, it has some gaping loopholes that most developers and builders overlook or have not even considered, especially when building agents that work with products or existing services.</p><p><strong>Disclaimer: </strong>This blog <strong><em>does not </em></strong>demonstrate or instruct on how to build an MCP server from scratch, but rather serves to provide insights into the current state of MCP and the latest methods for building AI Agents with context. <strong><em>If you’re someone new to MCPs or just figuring out the best way to work with MCPs then this blog will help you.</em></strong></p><h3>What the heck is an MCP even?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WIFFFcak1SvK2Lvp.png" /><figcaption>Image credits: Siddarth Sarswat</figcaption></figure><p>Before getting into the nitty-gritty, it&#39;s only fair to actually understand the need for an MCP and why it is so important in the first place. As of now, numerous resources that can give a deep dive into what an MCP is, but for the sake of this blog, here’s a quick one-liner:</p><blockquote>Model Context Protocol is a universal gateway (open protocol) that allows agents and IDEs to communicate with a respective application or service with one interface.</blockquote><p><strong>Example use case: </strong>Let’s say you have an AI Assistant, and you want it to work with project tickets in Jira? Essentially, your assistant won’t be able to peek into those tickets or even call Jira because it doesn’t have any access or context for what you need. This is where MCPs come into play, letting your AI Agent peek into that app and do the actions you want it to do?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QN8nhUNgLu4PZ6USx1QiqQ.png" /></figure><h3>Why does it even matter?</h3><h4>Your AI Agents are dumb</h4><p>Most AI Agents are fluffed-up ChatGPTs — from healthcare AI assistants to financial AI advisors, we have seen it in most products today. They may look intelligent and might deliver promise to whatever service you’re paying for or even building, but at the end of the day, it&#39;s still dumb. Simply because <strong>it lacks context.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HoBw4O6SlG6OeECo" /></figure><p>On the backbone, it’s still AI, but it&#39;s limited to generating text or an image based on the instructions you provided or what the agent was trained to do.</p><h4>Is API-based integration still not enough?</h4><p>When utilizing raw APIs, generally, that may do the trick and might provide the necessary result you want when working with a singular service. However, each API has its standard schema and semantics and differs across versions and providers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BUnth4e0gukr1RFigjE2RQ.png" /></figure><p>In a nutshell, each service — Google, Notion, Salesforce, or any internal corporate tools requires unique API keys, authentication protocols, and data formats. This creates a labyrinth of integrations that are difficult to manage and maintain.</p><p>Think of it like keys to a house, but to access each room, your AI Agent needs a specific key. This method is not only tedious but risky security-wise and causes major development overhead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*OKYjYHwnrxXhpNkx.png" /><figcaption>Credits: <a href="https://www.ionio.ai/">ioni.ai</a></figcaption></figure><h3>MCPs to the rescue!</h3><p>With the introduction of the Model Context Protocol, developers and builders no longer need to think about jumbling up multiple APIs, as MCPs provide LLMs with the context they need to make the correct action per request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*QaONt8TF2py5O8X8Szwl2Q.png" /><figcaption>Credits: Descope</figcaption></figure><p>Think of MCP as a universal adaptor that allows your LLM to connect to any app/service (if that server offers an MCP in the first place) without much hassle, hence making your AI Agent work <strong>with actual context.</strong></p><h4>How MCPs work under the hood</h4><p>When trying to work with MCPs, it&#39;s always good practice to understand how it&#39;s working under the hood. The best analogy is that of a USB adapter/dongle, as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*EKmAVPHgzArWvd2ncVb1YA.png" /><figcaption>Credits: ioni.ai</figcaption></figure><ul><li><strong>MCP Host — </strong>The application that uses the MCP, which includes platforms like Claude Desktop, VS Code, Cursor, etc. In the analogy case is our computer.</li><li><strong>MCP Client — </strong>The middleman that ensures communication between the Host and the Server. In other words, the host’s built-in drive that speaks MCP by connecting to the server.</li><li><strong>MCP Server — </strong>Endpoints that advertise capabilities in a way that the MCP can understand, such as tools, resources, and other overall prompts given by the user. In our analogy, this is your USB adaptor between the tool and the agent.</li></ul><h3>Where MCP lacks…</h3><p>Even with MCPs making an impact, there are many gaping loopholes that industry leaders and hardcore developers have pointed out, but not limited to:</p><h4>Zero observability</h4><p>Out of the box, MCPs lack audit trails and guardrails for agent actions. Meaning you won’t have enough observability to monitor who is using your MCP server, when, and in what capacity. Most enterprises consider this “risky” as every organization wants to know what happens under the hood.</p><h4>Fragmented setup</h4><p>While MCP gives you the protocol, you still have to manage, host, secure, and maintain those respective MCP servers. This leads to duplicating the same effort for every single application or service.</p><h4>Scalability issues</h4><p>Think of it this way, your agents work seamlessly with a few applications or services, and later on your customers suggest you make changes to the service or the applications that the agent uses. In a nutshell, you’ll see yourself updating MCP servers on the back end every single time, which is a massive developer overhead and a waste of time and effort.</p><h4>MCP is not multi-tenant</h4><p>If you’re someone working with MCPs and if you serve multiple customers, then you probably have implemented custom wrappers to let users use the same environment. While this does solve a present problem, it&#39;s not considered as a long-term solution.</p><h3>Unified Context Layer — One Hub to Rule Them All</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rxfwXYjXNGvcfDB44WSXvw.png" /><figcaption>Source: ucl.dev</figcaption></figure><p>Unified Context Layer or UCL is a multi-tenant gateway that enables AI Agents to connect to 1000+ tools with little to no code needed, developed by <a href="https://fastn.ai/">Fastn.ai</a>.</p><h4>How UCL differs from MCP</h4><p>If MCP is considered as a simple USB adapter, then think of UCL as a pre-configured workspace where you can plug in every single application/service with your AI Agent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fGNkYsqwBlnFVALDNV2FsA.png" /></figure><p>With UCL, developers and builders can create AI Agents that can harness all the functionalities of the services you want without the worry of mapping out actions, development overhead, or building the overall infrastructure.</p><h3>Getting started with UCL</h3><p>In this part, we’ll be going through a rough overview of how to get started</p><h4>Setting up your account + workspace</h4><ul><li>Head over to <a href="https://ucl.dev/">https://ucl.dev/</a> and click on the <strong>“Sign Up”</strong> button as highlighted below</li></ul><p><strong>Keep in mind: </strong>UCL works on a freemium model, so you can try it out for free without entering any payment details</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*gA21MKe-re1zKnuinzoJFA.png" /><figcaption>Source: ucl.dev</figcaption></figure><ul><li>As you proceed with the sign-up process, you&#39;ll end up with a new tab where you can complete the sign-up process.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fi3v32323bJVl6a1-UFh3g.png" /><figcaption>Source ucl.dev</figcaption></figure><h4>Understanding workspaces</h4><p>Once you’re all signed up, you’ll be provided with a default workspace called “My workspace” which is tied to your server URL and all the applications and tools you connect to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N5N4e4-p8mbuoRHJ1Q_JOw.png" /><figcaption>Source: ucl.dev</figcaption></figure><blockquote>If you have more than ONE workspace you can simple select either one.</blockquote><h4>Understanding Connectors + How to enable tools</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*64HOCQBff272JRIU-mglLw.png" /><figcaption>Source: ucl.dev</figcaption></figure><p>As the name implies, connectors are primarily applications or services with a set of actions that you can enable. You can either select all of the tools or just a few of them. There is no limit to how many you need to enable. Simply:</p><ul><li>Click on the application or service of your choice.</li><li>Once selected, you’ll be prompted to connect your account via OAuth.</li><li>Once connected, the pop-up, as shown below, will indicate that your connector has been enabled.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*4x2hsn9kxy2VBPpRsbF6Hw.png" /><figcaption>Source; ucl.dev</figcaption></figure><ul><li>Then you’ll need to enable the respective actions for your desired purpose. You can either select all of the actions or just a few of the ones that you actually need.</li></ul><h4>Putting your actions to the test — AI Action Agent</h4><p>Now that you have connected all of your apps and enabled all of your actions, you might be wondering if you need to actually have an AI Agent to test this, right?</p><p>Well, here’s where UCL covers that with its unique feature called <strong>AI Action Agent, </strong>which is a powerful one-stop chatbot that allows you to put your actions to the test before setting up your UCL within your product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eHEBE8yYjtPpb01T_1QqtQ.png" /><figcaption>Source: ucl.dev</figcaption></figure><p>Simply click on the button as highlighted above, and the following chatbot will appear:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*OFt0mAzYorjoAKKd--7IyQ.png" /><figcaption>Source: ucl.dev</figcaption></figure><p>From the AI Action Agent, simply add in any prompt or command you want to give to the agent, and UCL will process that on the backend and execute the command.</p><h4>Example: Creating a Google Doc and emailing it to any user</h4><p>For example purposes, we’re going to ask the AI Action Agent to create a Google Doc and write 500 words on the future of agentic AI, and then we’re gonna tell the agent to send the doc as an email to any individual at the same time.</p><p><strong>Keep in mind: </strong>Make sure you have the correct connectors and actions enabled for the agent to actually execute this task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*GeTnttctwlXvM67lin2pqA.png" /><figcaption>Source: ucl.dev</figcaption></figure><p>In the above image, based on the prompt you provided, the action agent will process that and call upon the action and connectors you enabled.</p><p>Once processed, the AI Action Agent will also check with the user if this is the action he wants to proceed with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*x0WVbJofjbChtxsgJNSvkA.png" /></figure><h4>The outcome</h4><p>The Google Doc is created by the agent as desired.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*_dXBr8sK2ukDb5JCGXMNbg.png" /></figure><p>The email is sent accordingly as part of the second step within the same prompt, as shown below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*miImX4X6NCzBl-8-UR5yuQ.png" /></figure><h4>Setting it up on your AI Agent</h4><p>If you’re interested in giving embedding a go, you can check out their integration section, where UCL provides you with a step-by-step process on how to add UCL via one server URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*djb2NmIrJofaFPzk9HfWzA.png" /></figure><p>However, for further details, I highly recommend checking out their embedding tutorial <a href="https://docs.fastn.ai/ucl-unified-command-layer/embedding-fastn-ucl-onto-your-ai-agent"><strong>here</strong></a>.</p><h3>How UCL changes the game in building AI Agents</h3><h4><strong>Flow jamming with MCPs</strong></h4><p>Traditional MCPs require you to go through endless documentation, actions, server URLs, and specific endpoints for each action. With UCL, you can simply select your applications, enable the actions, and embed one server URL.</p><p>Similar to how you can vibe code with platforms like Lovable, Replit, and Cursor, with UCL, you’re basically vibing, but with MCPs.</p><h4>Complete control and observability</h4><p>Anything that you build with UCL, you have complete control and awareness of what&#39;s happening under the hood. This includes how many tenants you are working with, latency, and the most connectors used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o_WJrwCVS3l-Ak3qmxhZ7g.png" /></figure><h4>Literal ZERO CODE needed</h4><p>If you think about traditional MCPs, no matter how much you use AI to code when working with MCPs, you still need to understand where you are mapping those actions. UCL, however, handles that all in the backend, which means more time deploying what you actually build.</p><h3>Wanna learn more about Unified Context Layer?</h3><p>If you’re curious to learn more about UCL or getting in-depth knowledge on each aspect of how you can vibe with MCPs in general, I highly recommend checking out their documentation section here: <a href="https://docs.fastn.ai/ucl-unified-command-layer/about-fastn-ucl">https://docs.fastn.ai/ucl-unified-command-layer/about-fastn-ucl</a>.</p><h3>Let’s connect!</h3><p>For any questions or queries, or just for a random talk on all things tech and low-code, feel free to hit me up on the following:</p><p><strong>X:</strong> <a href="https://x.com/usmanaslam712">https://x.com/usmanaslam712</a><br><strong>LinkedIn: </strong><a href="https://www.linkedin.com/in/usmanaslam712/">https://www.linkedin.com/in/usmanaslam712/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38b71adccc13" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/the-model-context-protocol-gap-and-how-unified-context-layer-fills-it-38b71adccc13">The Model Context Protocol gap and how Unified Context Layer fills it</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Progress in public — How it helps you in your career?]]></title>
            <link>https://medium.com/swlh/progress-in-public-how-it-helps-you-in-your-career-84ee2cd0afc4?source=rss-b2e15488406d------2</link>
            <guid isPermaLink="false">https://medium.com/p/84ee2cd0afc4</guid>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <category><![CDATA[career-development]]></category>
            <category><![CDATA[progress]]></category>
            <dc:creator><![CDATA[Usman Aslam]]></dc:creator>
            <pubDate>Mon, 11 Jul 2022 06:02:41 GMT</pubDate>
            <atom:updated>2022-07-11T08:46:08.205Z</atom:updated>
            <content:encoded><![CDATA[<h3>Progress in public — How it helps you in your career?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SMPbJUqw3upKpAk85Ou0_w.png" /></figure><p>A few years ago, I once had an intellectual conversation with a prominent individual from the tech industry who had made his name across the globe. My curiosity heightened as he continued describing his developer journey and how he landed in the top jobs across Silicon Valley. Upon trying to decode the so called “<em>secret sauce”</em> behind his profound journey, he mentioned the key term <strong>“learn in public”</strong>. However, I consider it now as <strong>“progress in public”</strong> which has been a driving force for many people’s journeys including my own.</p><p>It is to be noted that this blog focuses solely on the self progression and does not direct towards any other conventional forms of recruitment.</p><p>With that being said, in this blog, we’ll be diving deep into:</p><ul><li>Why is it so important?</li><li>The common methods.</li><li>The best strategies and practices.</li><li>The general questions.</li></ul><h3>What’s so special about “progress in public”?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*B3VeLg5A9J3WuKddX9mOHg.png" /><figcaption>Image source: Justinmind</figcaption></figure><p>This term can be described in a single sentence which I learnt not too long ago:</p><blockquote>How do people know HOW good you are, if they don’t even know WHO you are?</blockquote><p>Let the line above sink in for 60 seconds. Now imagine you’re a skilled engineer who has all the tools, resources and experience that can potentially lead you into a good role and you actually apply for a role. Surprise, surprise! You’re not the only engineer in the world and you’ll face competition of all sorts. In fact, for just one single role recruiters receive at least a 1000+ emails or CVs/Resumes.</p><p>You may get rejected once, twice, or even multiple times and you assume that you’re not just skilled enough. You then ask for tips and tricks from your peers and seniors to hopefully get a heads up for the next time you head to a job interview. However, yet again the conclusion remains the same and you bury your head in depression.</p><p>Though some particular individuals come out on top regardless of amount of skills or years of experience and you’re left wondering how that came about?</p><p>This is where the quote mentioned earlier comes into play. It’s all about others knowing how skilled you are and what value do you add to their organisation/company and for their products and initiatives.</p><p>If I were to <strong>sum it in a few points</strong>, then generally the benefits are that:</p><ul><li>It helps you make a mark at an early stage.</li><li>You are under the radar of people and companies who want to work with you.</li><li>Opportunities galore!</li></ul><h3>How progression in public works? — The common methods</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*oZqSmmJNmJOMwVXcmIgb-A.jpeg" /><figcaption>Image source: iStock</figcaption></figure><p>So far, you may have concluded the fact that <em>“oh we should just share everything we do in public”</em>. No, that’s just spamming. There are ways of how one can progress without being completely irritating for others because the key word to focus on here is “public”. Hence, whatever you do, it’s for the public to view.</p><p>The ways or methods can be jotted down into the following:</p><h4>Learning</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*L42OHVIY_96Xenr1mhbDRw.jpeg" /><figcaption>Image source: KNILT</figcaption></figure><p>Around two years ago, I met this individual through social media who showed this profound interest in Flutter (app development). He was a mere student just getting to know what it was. Within the next few months, he studied the fundamentals and immediately shared what he learnt through projects. Long story short, his passion for learning and letting others know what he learnt allowed startups and companies to reach out to him. Pretty amazing, right? The main key thing here to notice is, he wasn’t a prodigy, he was starting out probably like you are today.</p><p>In a nutshell, the first method is all about what you learn even if it is the most basic thing in your discipline or just a recent interest. Give yourself that pat on the back every time you learn something, at least you tried! We spend so much of our time procrastinating and letting people know what Netflix show we finished that we shy away from the actual things that improve us.</p><p>With this step, you not only make a difference in your own knowledge but you impact so many people. Imagine that!</p><h4>Creating</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*aNrleZROc2H8HhgdMcNsLg.jpeg" /><figcaption>Image source: Jeffbulla</figcaption></figure><p>A professor of mine once quoted the following during his lectures which really had an impact on my mindset and played a valuable role in my work:</p><blockquote>Knowledge without implementation is meaningless.</blockquote><p>The quote explains itself quite perfectly. However, this is the next step to progression. It just doesn’t stop with what you learn but what you do with that knowledge gained counts.</p><p>You could be building a robot or a website or initiating a program, it can be anything that has your interest. All in all, it’s a unique way to let the public see your abilities without the need of emailing your resume to HR. You could mention what you work on with all the fancy details on your resume maybe but remember that countless individuals before and after you may have done the same. When sharing what you create, it is advised to mention the thought process and key takeaways of your work.</p><p>However, creating does not limit to just building something rather it extends further to your experiences which ultimately leads to content creation. Content creation can be in the form of podcasts, video tutorials or even blogs. This ultimately helps you learn better and the experiences you gained in life do not die out with you rather its passed on.</p><h4>Feedback</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iEJq5FzYTauBfCoq6OZ6BA.jpeg" /><figcaption>Image source: Content Standard</figcaption></figure><p>A common fact of life is, we aren’t perfect. That’s just the way the world works. Anything we work on or build, will have flaws or loopholes that others may point out. This comes to our final method that is <strong>feedback.</strong></p><p>If you shared your work on social media, generally you’ll get comments of all kinds. Some reviews would be primarily praises and thumbs ups while others may place in negative reviews. Upon looking at those negative reviews, your ego probably kicks in and you’re just aching to reply that critic with a fiery comeback. However, instead of doing the usual, reflect and ask yourself the following:</p><ul><li>Is this comment/review giving me an idea to improve my work?</li><li>Is the comment/review enhancing my existing knowledge?</li></ul><p>Based on these questions, you can determine how to take the critics as potential feedback. Even for this blog, I would potentially receive the similar.</p><h4>Summing it up</h4><ul><li>Share what you learn and engage.</li><li>Share what you create with key takeaways and challenges you faced.</li><li>Be open to all forms of feedback.</li></ul><h3>The best strategies and practices</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*fA63mvVXKglN00NnG_6sTQ.jpeg" /><figcaption>Image source: Marketing Professional</figcaption></figure><p>Now that we know the methods, let’s talk about strategies because doing what we discussed initially without a thought process is similar to spamming someone’s inbox.</p><h4>Engage in your community of interest</h4><p>In almost every discipline, field or domain, the heart of engagement is community. Whether you’re a developer or an artist or even a startup founder, there is a relevant community for every domain. It’s all about finding the correct one and being open minded. Who knows, you might even find your next company or partner in that community. The sky’s the limit. However, the best approach is by:</p><ul><li>Joining relatable events.</li><li>Engaging in different social media groups and channels.</li><li>Partaking in live audio conversations in topics of your interest.</li></ul><h4>Crack the social media algorithm</h4><p>Progression in public would not be complete without mentioning social media. There are numerous platforms to showcase your progress but what will matter is how you utilize the platform and how are you cracking their algorithm. For <em>almost</em> every platform, there exists an algorithm that enables you to gain your targeted audience. If I were to go and explain this then this blog would mostly wouldn’t have an ending. However, do keep in mind that what you share depends on the nature of your work and interest.</p><h4>Support your close peers</h4><p>Support goes two ways generally, you can’t expect others to support you if you haven’t even supported them. While most don’t go out and say “hey support me please” it’s a common sign of goodwill to support your peers and colleagues in their work. This enables them to make accelerate themselves and if you’re starting out then your peers would also support you at your initial stages.</p><h3>The general questions</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aMvCSs3qxHO45oO5vi-ujw.jpeg" /><figcaption>Image source: AARP</figcaption></figure><p>Throughout my time in the tech community ecosystem, whenever this topic was discussed I would receive countless queries on this. Today I mention a few of them, but I’m always open to more queries:</p><h4>1. Is sharing certifications a form of progress?</h4><p>It depends on what the certification was. Before sharing a certification ask yourself the following questions:</p><ul><li>Was this certification earned through work and effort?</li><li>Did you learn something?</li></ul><p>If both of your answers are a “yes”, then evidently you worked to earn the certification hence its something worth sharing.</p><h4>2. Can failures be shared aside from success stories as a progress?</h4><p>Of course, however it all depends upon your comfort zone. Most individuals are not comfortable in sharing their losses which is completely fine.</p><h4>3. Which is the best platform to progress in public?</h4><p>If you’re someone advancing in your professional or academic life, two platforms are highly recommended</p><ul><li>LinkedIn</li><li>Twitter</li></ul><p>However, the difference to be noted is that the audience in Twitter varies from topic to topic and overall engagement. Whereas LinkedIn is more open and diverse and is dependent upon how you crack the algorithm and what do you actually share.</p><h3>Conclusion</h3><p>You can learn everything and work the hardest but what will matter is how the public sees the work you put in and how it accelerates you.</p><p>For any questions or queries or just for a random talk, feel free to hit me up on my socials:</p><p><strong>Social handles (linktree):</strong> <a href="https://linktr.ee/usmanaslam712">https://linktr.ee/usmanaslam712</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84ee2cd0afc4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/progress-in-public-how-it-helps-you-in-your-career-84ee2cd0afc4">Progress in public — How it helps you in your career?</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Beginner’s Guide to Automation Using Power Automate]]></title>
            <link>https://medium.com/swlh/a-beginners-guide-to-automation-using-power-automate-aefd782471f5?source=rss-b2e15488406d------2</link>
            <guid isPermaLink="false">https://medium.com/p/aefd782471f5</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[business-technology]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[powerplatform]]></category>
            <dc:creator><![CDATA[Usman Aslam]]></dc:creator>
            <pubDate>Fri, 02 Oct 2020 20:07:48 GMT</pubDate>
            <atom:updated>2022-01-03T14:41:24.684Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EHeK_9MWgiGZcyLxlOwhEg.png" /></figure><p>With the increase of the latest technological trends, tools that act as the mere backbone to new advancements become more and more complex with the passage of time. Especially for an individual who may have relatively less or zero experience with complex tools with requirements such as backend knowledge of programming and their respective languages <em>(based on the tool you are using)</em>.</p><p>This post will be giving an in depth introduction on automation and how anyone can automate unique tasks <em>(depending upon the complexity)</em> irrespective of technical background or not. This will include some <strong>hands on examples.</strong></p><h3>What is automation?</h3><p>When we talk about automation we <em>(mostly tech enthusiasts or those with a background in tech)</em> generally think about topics such as Internet of Things <em>(connecting obsolete technology or modern appliances and giving them certain intelligence through the power of the internet)</em>, Artificial Intelligence or certain complex programs that oversee numerous complicated tasks. The concept of automation has now exceeded to robotics that can oversee industrial development on a high end scale. However, if we talk about <strong>automation in a nutshell </strong>it is basically defined as:</p><blockquote>A procedure or process that requires minimum human effort.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*R9EP10Uxep_Ou_rihztBHA.jpeg" /><figcaption>PC based automation. Source: INDUSTR.com</figcaption></figure><h3>What is Power Automate?</h3><p>Power Automate <em>(initially known as Microsoft Flow) </em>is a service created by Microsoft that automates your daily and even corporate work flows. This includes <em>(but not limited to) </em>auto-synchronization of your favorite applications to and fro, collect data, oversee analysis and have responses and reviews operated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*j5AQ9cbQTnjL2Wk77Cmdmw.png" /><figcaption>Power Automate logo. Source: Microsoft</figcaption></figure><p>This is a tool that is mostly utilized by corporations who need to handle their evaluations, approvals and other proceedings in a much more efficient way. This comes in handy especially for rising startups that have little manpower or less infrastructure. This all comes under the concept of <a href="https://tallyfy.com/what-is-bpms/"><strong>Business Process Management</strong></a><strong> </strong>and the respective softwares &amp; programs that improve, analyze and manage business processes in an effective way.</p><blockquote>Let’s consider a minor example for automated workflow:</blockquote><blockquote>Suppose that a person is conducting a survey on how the employees of different companies work to study a pattern of work, now collecting and organizing the data especially at such a high number would be an extremely tedious task especially. However, through Power Automate one can simply create a workflow that will not only collect data but store it an excel sheet for the person to view later on.</blockquote><h3>Platform overview</h3><p>In this part, we will be going through an overview of the Power Automate platform. This will give the user an idea of how the platform looks like. However, please do keep in mind that the platform is subjected to new updates.</p><p>Before getting started please ensure that:</p><ol><li>You are running a good reliable browser such as Firefox or Chromium Edge.</li><li>Stable internet at hand.</li><li>You have a Microsoft account and are signed in.</li></ol><p>So first you’ll need to is head to <a href="https://flow.microsoft.com/">https://flow.microsoft.com/</a> that will direct you to Power Automate.</p><h4>The Home Screen:</h4><p>This is the main screen of Power Automate where on the left you can switch to different pages and explore Power Automate’s different functionalities. However, the amazing thing about Power Automate is that you can either custom build your own flow or use one of the templates which includes ready-to-use on the go flows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kStvKPqA_0B53k1xbcn9WQ.png" /><figcaption>Home page of Power Automate</figcaption></figure><h4>Connectors:</h4><p>Connectors are certain services that allow the Power Automate platform to utilize such as sending files locally from your computer to your OneDrive without human involvement. Apart, from that one of these connectors also include the functionality to connect with your phone such as to provide notifications about your workflows while you’re on the go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*at-tdKWrp3UDDLA4J3RxcA.png" /><figcaption>Page showing list of services</figcaption></figure><p>Despite of the many possibilities at hand, one must remember that Power Automate features exclusive or <strong>premium services </strong>as well.</p><h4>AI Builder:</h4><p>Now at times, there are certain tasks that may require certain intelligence to produce a proper result. This is where Power Automate’s AI Builder feature comes into play! AI Builder allows your flows to predict certain output and enhance business performance of any corporation. The feature is powered by Microsoft AI which provides the user a <strong>click and point </strong>experience. In short, you don’t need to have any pre required experience or knowledge!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zse79OpvYYsGWCedtWYjTg.png" /><figcaption>AI Builder overview</figcaption></figure><p>You can either use AI Builder from scratch or use one of the previews and examples, as shown above, based on your preference.</p><h4>Data:</h4><p>This page is an overview of what services the user has connected power automate. The options are many! The limitations are only to the extent of your requirement.</p><p>The image below shows all of the services I have used throughout my meddling with Power Automate. However, users are always have the ability to update or disconnect any services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YreKRR48Stdysgl6uVDlSA.png" /><figcaption>Data page of Power Automate platform</figcaption></figure><h3>A few demonstrations!</h3><p>Now that we have gone through the basics, let’s get to some wicked automation! But first….</p><h4>A few important concepts to remember!</h4><p>Normally the two important operations of an automation that we use are the follow:</p><ol><li><strong>Trigger</strong> is something that allows a process to take place. In short, it’s a starting point. Triggers are either time — based or when a certain activity is performed.</li><li><strong>Action </strong>is something that is invoked when a trigger occurs or any prompt by a user.</li></ol><p>With that being said, let’s head to some basic examples:</p><h4>Example 1: Automated notifications for new emails received</h4><p>In this example, we will be showing how anyone can enable automated notifications for any emails that a person receives. This is the most basic way to get started with Power Automate. So with that said, let’s begin:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EXW8ipNpwW5zxaA2HjwoIw.png" /><figcaption>Selecting Automated flow</figcaption></figure><p>Here we will be selecting an automated flow which occurs when a certain condition is met.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CXzhtqNnhswf0-Kgl_DnIg.png" /><figcaption>Automated flow prompt</figcaption></figure><p>Once you have selected, automated flow you will receive a prompt to name your flow and choose the trigger of your preference. You can name your flow to anything you want, there are no limitations!</p><p>Over here, we have selected <strong>when a new email arrives </strong>trigger which you will see later on in the next images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SOm9BQUb5w4BRIMZThTplQ.png" /></figure><p>As mentioned before, we have selected the required trigger and now we need to decide the kind of action that will occur when a new email arrives so here we have selected <strong>notifications as highlighted above</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*425upoLLRXG6xB9UyvjaJA.png" /><figcaption>Placing in data for the flow</figcaption></figure><p>Now once we have selected our action which is send our phone a notification. Afterwards, simply place in the message in the Text box that you want to use as a notification followed along with a link to your email.</p><p><strong>Tip: </strong>The link to your email can be found when you try to open your email service through your browser. If you have multiple emails, do ensure that you change the number i.e. <strong>u/0/ to u/(email number)/. </strong>For example if we have let’s say three emails and we want to utilize our second email then we should type in <strong>u/1/ </strong>and similarly for our third email it would be <strong>u/2/. </strong>This numbering totally depends upon the number of emails you are using and the email service you are using.</p><p>Now as shown <strong>in the given image below, </strong>here we are sending a random email saying “Hello World!” to the targeted email that we specified earlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bqeEcivu8z3VWYd97jgsAQ.png" /><figcaption>Sending a random email to the targeted email</figcaption></figure><p>Now once it is sent, after a few minutes we will a notification to our device as show below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jxd6UBFyUIJhUiriq1U_pg.png" /><figcaption>Automated text message by Power Automate</figcaption></figure><p>However, if you have downloaded the <strong>Power Automate app </strong>you can check the status of your flow through your phone as well:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*-5hNsmJ1kXRAME82Ev-7Ig.png" /></figure><p>Now if we click on the specified link <strong>shown in the image above </strong>we will be redirected to our email which will show us the email we have received!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*CQooIpuxM4toOL2qtUacVA.png" /><figcaption>Email received!</figcaption></figure><p>Now if we were to head over to the Power Automate website, we can easily check the details of our working flow <strong>as shown below. </strong>This is what we can consider as the central hub of our flow where we can check whether our flow was successful or not, what type of connections are being used and how many users own the flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xuLc3sOs29wGt-oqoVWMPw.png" /></figure><h4>Example 2: Form submission verification-Internship form example</h4><p>Now that we are out of the basics, we’re heading to a much more exciting and commonly used automation. But before that, you probably have noticed that whenever someone fills any official form, let’s say a form to apply for an internship at a big company, we instantly receive the notification telling us that our application has been submitted <em>(with some additional details included). </em>In this example, we’re going to recreate that method using Power Automate.</p><p>The <strong>below image shows an example form </strong>that asks for details and the domain of interest of the person who is apply for the internship <em>(over here we have used Microsoft Forms)</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-EVzunbglG3cmWUUSdiPog.png" /><figcaption>An example internship form created using Microsoft Forms</figcaption></figure><p>Now if we go back to Power Automate and follow the similar steps <strong>as shown in Example 1 previously </strong>our flow should look like as the image below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*RY3TS2tBaGh-WXAk1emEuA.png" /><figcaption>Our automated flow</figcaption></figure><p>The <strong>selected trigger </strong>here is <strong>when a new response is submitted </strong>and our <strong>selected action </strong>is send an email notification. However, in this case there must another action before that which is called <strong>Get response details.</strong> In the trigger, we have to add the ID of our form which we created and then add in the necessary dynamic content based on the requirements.</p><p>If we click at the small button called <strong>Add dynamic content</strong> the following box will pop up:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*GghZwRrgb8Cf7hpL4Q2rQw.png" /><figcaption>Dynamic Content Box</figcaption></figure><p>Once everything is selected, it is highly important to save the flow otherwise we may lose all of our work.</p><p>Now coming back to our form, once we fill the form as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Quj7DlfsMbZwB4pOGg1EA.png" /><figcaption>Form filled image</figcaption></figure><p>Once we have submitted our form. We will receive the following email:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WWZEUUk0CCskx8nVjBgO3A.png" /><figcaption>Email received through Power Automate</figcaption></figure><p>And if we go back and check Power Automate:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NRZeQkugMOEghoXCxjgBpw.png" /><figcaption>Automation flow ran successfully</figcaption></figure><p>It shows that our automation process has been successful. In short, we have finally <strong>recreated an internship form and automated a process used by most major corporations!</strong></p><h3><strong>Behind the scenes!</strong></h3><p>So with all said and done, we have finally achieved how to automate various tasks using Power Automate. But is it really that?</p><h4>What we think automation looks like:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*RgToW-2FBAR_kku-rjgkFQ.png" /><figcaption>A tab that shows connections from Power Automate</figcaption></figure><h4>What it actually is:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*udG4FI9r-dtA-jBnyKnpPA.png" /><figcaption>Backend code for Power Automate flows</figcaption></figure><p>In short, we have <strong>achieved to automate things without the need to learn how to code or have any backend technical knowledge.</strong></p><h3>What if my flows does not work or fails in between?</h3><p>This is a question alot of people have when they get they started working with Power Automate. When a flow fails during a process or simply doesn’t work you will be notified via email that your flow has failed. As <strong>shown in the image below:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nkdxhJCKFT7oXRRe65AGKg.png" /><figcaption>An example email notifying the user that your flow has failed.</figcaption></figure><p>This removes the tedious necessity to go back to Power Automate and keep checking the progress of your flows. In fact, this is a time saver if you’re a corporate person looking to increase the efficiency in your respective organization.</p><h3>Want to learn more about Power Automate?</h3><p>If you want to learn more about Power Automate and other Power Platform tools I do recommend visiting <a href="https://docs.microsoft.com/en-us/learn/"><strong>Microsoft Learn</strong></a><strong> </strong>which is an official site of Microsoft that enables students &amp; professionals learn about the latest technologies such as Cloud Computing, Low Code Development and much more for free. <strong>Fun fact:</strong> You get to earn some <strong>cool badges and trophies</strong> along with the huge line of learning content. So learn away!</p><h3>Let’s connect!</h3><p>For any questions or queries or just for a random talk on all things tech, feel free to hit me up on the following:</p><p><strong>Twitter:</strong> <a href="https://twitter.com/usmanaslam712">https://twitter.com/usmanaslam712</a><br><strong>LinkedIn: </strong><a href="https://www.linkedin.com/in/usman-aslam-u712a/">https://www.linkedin.com/in/usman-aslam-u712a/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aefd782471f5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/a-beginners-guide-to-automation-using-power-automate-aefd782471f5">A Beginner’s Guide to Automation Using Power Automate</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>