<?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 Ravindu Weerasinghe on Medium]]></title>
        <description><![CDATA[Stories by Ravindu Weerasinghe on Medium]]></description>
        <link>https://medium.com/@rtweera?source=rss-1fad328471bf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gjZJZKDT2ij8J-Xm-TiE2w.png</url>
            <title>Stories by Ravindu Weerasinghe on Medium</title>
            <link>https://medium.com/@rtweera?source=rss-1fad328471bf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 04:58:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rtweera/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[Seamlessly Integrate HubSpot CRM Video Conferencing with Ballerina]]></title>
            <link>https://medium.com/@rtweera/seamlessly-integrate-hubspot-crm-video-conferencing-with-ballerina-b5b842057ea4?source=rss-1fad328471bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5b842057ea4</guid>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[hubspot]]></category>
            <category><![CDATA[connector]]></category>
            <category><![CDATA[video-conferencing]]></category>
            <category><![CDATA[ballerinalang]]></category>
            <dc:creator><![CDATA[Ravindu Weerasinghe]]></dc:creator>
            <pubDate>Tue, 04 Mar 2025 08:21:19 GMT</pubDate>
            <atom:updated>2025-03-04T08:21:19.620Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a5hXvPa6nDzTKQHblSTiww.png" /><figcaption>Ballerina and HubSpot Integration</figcaption></figure><h3>Introduction</h3><p>In today’s digital world, businesses rely on seamless integrations between their CRM and video conferencing tools to enhance communication and collaboration. HubSpot, been one of the top CRMs out there, provides an API to connect video conferencing services to its CRM, allowing businesses to manage virtual meetings efficiently.</p><p>The <strong>Ballerina HubSpot CRM Video Conferencing Connector</strong> simplifies and streamlines this integration process, enabling developers to incorporate video conferencing capabilities effortlessly. Built on the <strong>Ballerina</strong> language, this connector offers a robust and efficient way to schedule, manage, and track virtual meetings within the HubSpot ecosystem.</p><h3>Why Use the Ballerina HubSpot CRM Video Conferencing Connector?</h3><h4>1. Effortless Integration</h4><p>The connector simplifies the process of connecting HubSpot CRM with video conferencing platforms, eliminating the need for complex API handling.</p><h4>2. Ballerina’s Powerful Features</h4><ul><li><strong>Data-Oriented Approach</strong>: Ballerina’s seamless JSON and XML handling makes working with HubSpot’s APIs easier. This allows developers to work with high level class objects rather than working with raw JSON or XML formats.</li><li><strong>Concurrency &amp; Reliability</strong>: Ballerina’s built-in concurrency model ensures smooth execution of multiple API requests.</li><li><strong>Secure &amp; Scalable</strong>: The connector follows best security practices and scales well with growing demands.</li></ul><h4>3. Automate Meeting Management</h4><p>With this connector, developers can automate tasks such as scheduling, updating, and managing video conferences directly from HubSpot CRM.</p><h3>Setting Up the Connector</h3><h3>Prerequisites</h3><p>Before starting, ensure you have installed:</p><ul><li><strong>Ballerina Swan Lake</strong> (<a href="https://ballerina.io/">Download Here</a>).</li><li><strong>Java SE Development Kit (JDK) 21</strong> (<a href="https://www.oracle.com/java/technologies/downloads/">Oracle JDK</a> or <a href="https://adoptium.net/">OpenJDK</a>). (Gets auto installed with <strong><em>Ballerina, </em></strong><em>typically</em>)</li></ul><p>Run the following in a terminal to verify the Ballerina installation,</p><pre>bal --version</pre><h3>Set up Authentication</h3><h4>Step 1: Create a HubSpot developer account</h4><p>If you don’t already have a HubSpot developer account, sign up at <a href="https://developers.hubspot.com/">HubSpot Developer Portal</a>.</p><h4>Step 2: Create a HubSpot app in your account</h4><ol><li>Log in to your <a href="https://app.hubspot.com/login">HubSpot developer account</a>.</li><li>Navigate to <strong>Apps </strong>and click <strong>Create App</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8MpjA5ZTSQJlrS4fbHGrWA.png" /><figcaption>Creating an app</figcaption></figure><p>3. Give an app name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Xdy6i5P1pRZaCB0mQ1dtQ.png" /><figcaption>Giving an app name</figcaption></figure><p>4. Move to <strong>Auth </strong>tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9hNlrA_LK8yRjPqjPc1AKg.png" /><figcaption>Moving to Auth tab</figcaption></figure><p>5. Give a <strong>Redirect URL </strong>(if you are not sure, just give <a href="http://localhost/">http://localhost</a>) and click <strong>Create App</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dvn71MtFGQ1E68oprYndZQ.png" /><figcaption>Adding redirect URL and creating the app</figcaption></figure><p>6. Click on <strong>Apps </strong>again from the left sidebar and you will see your app enlisted. Copy your <strong>App ID </strong>and save it securely for later use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*seYETIYAaz31RJV53V3a9Q.png" /><figcaption>Getting App ID</figcaption></figure><h4>Step 3: Obtain developer API key</h4><ol><li>Click on <strong>Keys </strong>from left sidebar and click on <strong>Developer API Key. </strong>Then click on <strong>Create Key</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QZass2AMkgerr4idNX1wNQ.png" /><figcaption>Keys to Developer API Key</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6meEje2shL0Z7PKUgGi9jQ.png" /><figcaption>Create developer API key</figcaption></figure><p>2. You will see a masked key. Click on <strong>show </strong>to unmask it and <strong>then </strong>click <strong>copy</strong>. Save this key securely for later use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F-VsompllHnycUYQrMx2wQ.png" /><figcaption>Show the key</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eDe3t9_O7JVTrCjLHGenwA.png" /><figcaption>Copy the key</figcaption></figure><p>Now the authentication setup is done.</p><h3>Installation</h3><p>Next let’s install the connector. Execute the following command:</p><pre>bal pull ballerinax/hubspot.crm.extensions.videoconferencing</pre><p>This will pull the connector from the web (i.e. Ballerina Central) and install it in your local ballerina repository. Now this package will be available in your machine and can be used for any local project.</p><h3>Quickstart Guide</h3><p>Ensure you have followed the “<a href="#4750">Setting Up the Connector</a>” section above, before you move forward.</p><h4>Step 1: Import the Connector</h4><pre>import ballerinax/hubspot.crm.extensions.videoconferencing;</pre><h4>Step 2: Configure Authentication</h4><p>To authenticate, obtain the necessary API credentials from HubSpot and configure them in your Ballerina project.</p><p>Create a Config.toml file with the necessary credentials:</p><pre>hapikey = &quot;na2-xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&quot;<br>appId = 1234567</pre><p>Here hapikey is the developer API key and appId is the app ID you obtained before in “<a href="#4750">Setting Up the Connector</a>” section.</p><p>Put this Config.toml file in project directory where you want to use this connector.</p><h4>Step 3: Create a video client</h4><p>The following example demonstrates how to create a video conference session:</p><pre>import ballerinax/hubspot.crm.extensions.videoconferencing as hsvideo;<br>import io;<br><br>// Loading the configurables in Config.toml<br>configurable string hapikey = ?;<br>configurable int appId = ?;<br><br>// Casting the appId to a signed32 (requirement for the appID)<br>final int:Signed32 appIdSigned32 = &lt;int:Signed32&gt;appId;<br><br>// Authentication setup<br>final hsvideo:ApiKeysConfig apiKeysConfig = {<br>    hapikey: hapikey<br>};<br><br>// Client initialization<br>final hsvideo:Client hubspot = check new (apiKeysConfig);<br><br>public function main() {<br>    // Get method done on client<br>    hsvideo: ExternalSettings settings = check hubspot-&gt;[appIdSigned32]();<br>    // Your custom code to operate on received settings<br>    io:println(`Create Meeting URL: ${settings.createMeetingUrl}`);<br>}</pre><h4>Step 4: Run the Program</h4><p>Save the file and execute the following command:</p><pre>bal run</pre><h3>Data Types</h3><p>Following are the data types you need to be aware if you are using this connector:</p><pre>public type ExternalSettings record {<br>    # The URL that HubSpot will use to verify that a user exists in the video conference application.<br>    string? userVerifyUrl?;<br>    string? fetchAccountsUri?;<br>    # The URL that HubSpot will send requests to create a new video conference.<br>    string createMeetingUrl;<br>    # The URL that HubSpot will send updates to existing meetings. Typically called when the user changes the topic or times of a meeting.<br>    string? updateMeetingUrl?;<br>    # The URL that HubSpot will send notifications of meetings that have been deleted in HubSpot.<br>    string? deleteMeetingUrl?;<br>};</pre><pre>public type ApiKeysConfig record {|<br>    # HubSpot developer API key<br>    string hapikey;<br>|};</pre><h3>Exploring Features</h3><h4>1. Get the saved settings for the video conferencing application</h4><pre>hsvideo:ExternalSettings settings = check hubspot-&gt;[appIdSigned32]();</pre><h4>2. Save settings for the video conferencing application</h4><pre>hsvideo:ExternalSettings payload = {<br>    createMeetingUrl: &quot;https://example.com/create-meeting&quot;,<br>    updateMeetingUrl: &quot;https://example.com/update-meeting&quot;,<br>    deleteMeetingUrl: &quot;https://example.com/delete-meeting&quot;,<br>    userVerifyUrl: &quot;https://example.com/verify-user&quot;,<br>    fetchAccountsUri: &quot;https://example.com/fetch-accounts&quot;<br>};<br><br>hsvideo:ExternalSettings settings = check hubspot-&gt;/[appIdSigned32].put(payload);</pre><h4>3. Update a specific field of the settings</h4><pre>// Get the saved settings<br>hsvideo:ExternalSettings settings = check hubspot-&gt;[appIdSigned32]();<br><br>// Set the field(s) to update<br>settings[&quot;updateMeetingUrl&quot;] = &quot;https://example.com/update-meeting&quot;;<br>settings[&quot;userVerifyUrl&quot;] = &quot;https://example.com/verify-user&quot;;<br><br>// Put the settings<br>hsvideo:ExternalSettings settings = check hubspot-&gt;/[appIdSigned32].put(payload);</pre><h4>4. Delete saved settings for the video conferencing application</h4><pre>import http;<br><br>http:Response response = check hubspot-&gt;/[appIdSigned32].delete();</pre><h3>Building from Source</h3><p>To build the connector from the source, use the following commands:</p><pre>./gradlew clean build</pre><p>To run tests:</p><pre>./gradlew clean test</pre><h3>Contributing</h3><p>The <strong>Ballerina HubSpot CRM Video Conferencing Connector</strong> is open source, and contributions are welcome! For guidelines, check out the <a href="https://github.com/ballerina-platform/ballerina-lang/blob/master/CONTRIBUTING.md">Contribution Guide</a>.</p><h3>Final Thoughts</h3><p>With the <strong>Ballerina HubSpot CRM Video Conferencing Connector</strong>, integrating video conferencing into your HubSpot CRM has never been easier. This connector allows businesses to automate meeting workflows, enhance collaboration, and improve productivity. Get started today and streamline your video conferencing experience with Ballerina!</p><p>For more details, check out the official <a href="https://central.ballerina.io/ballerinax/hubspot.crm.extensions.videoconferencing/latest">Ballerina Central Package</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5b842057ea4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>