<?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 Tarek Mebrouk on Medium]]></title>
        <description><![CDATA[Stories by Tarek Mebrouk on Medium]]></description>
        <link>https://medium.com/@tarekmebrouk?source=rss-e480c60b0927------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Zm6_J12iwRCpCQs5Ov-oBQ@2x.jpeg</url>
            <title>Stories by Tarek Mebrouk on Medium</title>
            <link>https://medium.com/@tarekmebrouk?source=rss-e480c60b0927------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 12:10:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tarekmebrouk/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[Camunda 8 Self-Managed: How Exporters Bring Events to Life]]></title>
            <link>https://medium.com/@tarekmebrouk/camunda-8-self-managed-how-exporters-bring-events-to-life-e3ec7b6e0c6f?source=rss-e480c60b0927------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3ec7b6e0c6f</guid>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[camunda]]></category>
            <category><![CDATA[rabbitmq]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[workflow]]></category>
            <dc:creator><![CDATA[Tarek Mebrouk]]></dc:creator>
            <pubDate>Mon, 29 Sep 2025 13:18:19 GMT</pubDate>
            <atom:updated>2025-09-29T13:18:19.850Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever wondered how to capture every event happening inside your Camunda 8 processes and make them available to the rest of your ecosystem? Whether it’s for audit, monitoring, or powering an event-driven architecture, you need a way to move those workflow events outside of Zeebe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WYmwvH8t4Uu5aXCTEvdVcQ.png" /></figure><p>This is exactly the role of exporters. They extend Camunda 8 by streaming internal events into external systems like databases, analytics platforms, or message brokers such as <a href="https://medium.com/u/8168dbd0173c">RabbitMQ</a>.</p><h4>Why exporters matter ?</h4><p>An exporter in Camunda 8 is a pluggable component that listens to the event stream inside Zeebe, the workflow engine, and forwards those events to an external system. Think of it as a bridge, Zeebe focuses on executing workflows efficiently, while exporters make those internal events available for storage, analysis, or integration.</p><p>Exporters are useful in many situations. For example, they allow you to capture every state change in a process for <strong>audit and compliance</strong>, making it possible to trace exactly what happened and when. They also enable <strong>monitoring and observability</strong>, by streaming events to tools like Prometheus, Elastic, or Grafana, where teams can build dashboards and alerts. Another common case is <strong>event-driven architecture</strong> by sending workflow events to RabbitMQ or Kafka, other microservices can immediately react to process updates. Finally, exporters can also support <strong>business notifications</strong>, where process events trigger real-time alerts, emails, or in-app updates for end users.</p><h4>How exporters work ?</h4><p>Exporters in Camunda 8 act as <strong>listeners on the Zeebe event stream</strong>. Whenever a workflow instance progresses tasks start, complete, or get canceled Zeebe generates events. Exporters pick up these events and forward them to external systems like RabbitMQ.</p><blockquote>It’s important to note that <strong>exporters are only available in Camunda 8 Self-Managed</strong>. They cannot be used in the cloud-managed version, because you need direct access to the Zeebe broker’s internal event log.</blockquote><p>Here’s a simple way to visualize it: imagine a BPMN process running in Camunda. Each time a task moves forward, Zeebe produces an event. The exporter intercepts this event and sends it to RabbitMQ. From there, other applications or services can react in real-time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*AH2uc-grV-fLt5uupzq5YA.png" /><figcaption>Camunda 8 <strong>Self-Managed</strong> — custom Exporter architecture</figcaption></figure><h4>Anatomy of a Java exporter</h4><p>Creating a custom exporter in Camunda 8 with Java is straightforward once you understand the core interfaces. At its core, an exporter is a class that implements the io.camunda.zeebe.exporter.api.Exporter interface.</p><p>This interface requires you to override <strong>three main methods</strong>:</p><ol><li><strong><em>configure(Context context)</em></strong></li></ol><p>This method is called once when the exporter starts. It allows you to read configuration parameters and initialize resources. It’s also the place to configure the <strong>logger</strong> that Zeebe uses. With this setup, any log you write via logger will appear in Zeebe’s logs, making it easy to monitor your exporter.</p><pre>@Override<br>public void configure(Context context) {<br>    logger = context.getLogger();<br>    this.logger.info(&quot;Exporter configured!&quot;);<br>    // Example: prepare RabbitMQ configuration parameters<br>}</pre><p><strong><em>2. open(Controller controller)</em></strong></p><p>This method is called once after configuration. You can use it to <strong>open connections</strong>, allocate resources, or perform initialization tasks before events start arriving.</p><pre>@Override<br>public void open(Controller controller) {<br>    this.controller = controller;<br>    this.logger.info(&quot;Exporter opened and ready to process events.&quot;);<br>    // Example: initialize RabbitMQ connection here<br>}</pre><p><strong><em>3. export(Record&lt;?&gt; record)</em></strong></p><p>This is the heart of the exporter. Zeebe calls this method <strong>for each event</strong> that occurs in the workflow engine. Here, you decide what to do with the record (e.g., serialize it and send it to RabbitMQ).</p><blockquote><strong>Don’t forget</strong> to update the last exported record position after each record. Calling updateLastExportedRecordPosition is crucial, it tells Zeebe which records have been successfully exported, preventing duplicates and ensuring correct tracking.</blockquote><pre>@Override<br>public void export(Record&lt;?&gt; record) {<br>    this.logger.info(&quot;Exporting record: &quot; + record.getValue());<br>    // Example: send record to RabbitMQ<br>    controller.updateLastExportedRecordPosition(record.getPosition());<br>}</pre><p>In Camunda 8, exporters can implement the io.camunda.zeebe.exporter.api.context.Context.RecordFilter interface to control which records are passed to the export() method. This interface allows you to define <strong>precise criteria</strong> for the record type, value type, and intent of events your exporter should handle, reducing unnecessary processing. The interface is defined as follows:</p><pre>public class CustomExporterFilter implements RecordFilter {<br><br>  @Override<br>  public boolean acceptType(RecordType recordType) {<br>    // Example: accepte only EVENT record type<br>  }<br><br>  @Override<br>  public boolean acceptValue(ValueType valueType) {<br>    // Example: accepte only JOB value type<br>  }<br><br>  @Override<br>  public boolean acceptIntent(Intent intent) {<br>    // Example: accepte only CREATED intent<br>  }<br>}</pre><p>You can then configure the filter in the configure() method of your custom exporter using:context.setFilter(new CustomExporterFilter());</p><h4>Installing an exporter in Camunda 8 Self-Managed</h4><p>Installing a custom exporter in Camunda 8 Self-Managed is simple but requires access to the broker. First, you need to build your exporter as a JAR file. Then, the JAR should be placed in the broker’s exporters folder, and your exporter must be configured in the broker’s application.yaml with any necessary properties, such as connection details for external systems. Finally, restarting the broker will activate the exporter, allowing it to start consuming workflow events according to its configuration.</p><p>For a practical example, including a step-by-step guide on installing a custom exporter on a Camunda 8 Self-Managed instance using a Docker Compose setup, check out my <strong>custom RabbitMQ exporter</strong> contribution to the Camunda community. In this project, I explain the full installation process in detail, inspired by <a href="https://github.com/camunda-community-hub/zeebe-hazelcast-exporter">Camunda’s Hazelcast</a> default exporter: <a href="https://github.com/TarekMebrouk/zeebe-rabbitmq-exporter">[GitHub link]</a>.</p><h4>Best Practices</h4><ul><li>Keep the exporter logic as simple as possible, avoid complex business rules to prevent adding latency to the Zeebe broker.</li><li>Treat the exporter as a critical component, if it fails, it can cause errors in the platform, so ensure your code is clean, well-tested, and resilient.</li><li>Only export the records you actually need using RecordFilter, since Zeebe produces a high volume of events.</li><li>Batch events when possible to improve throughput and reduce network overhead.</li><li>Use asynchronous processing to avoid blocking the broker on slow external systems.</li><li>Monitor exporter health with logs or metrics to quickly detect slow exports or connection issues.</li><li>Test your exporter under realistic load conditions to make sure it can handle peak traffic without impacting Zeebe performance.</li></ul><h4>Conclusion</h4><p>Exporters are a powerful way to connect Camunda 8 workflows with the rest of your systems. By keeping your exporter simple, focused, and well-monitored, you can stream workflow events reliably to external systems like RabbitMQ, databases, or analytics tools. For a practical example, check out my <a href="https://github.com/TarekMebrouk/zeebe-rabbitmq-exporter"><strong>custom RabbitMQ exporter</strong></a> contribution to the Camunda community, where I share the full implementation and installation steps for a Self-Managed setup.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3ec7b6e0c6f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Future of User Tasks in Camunda 8: Moving Beyond Job Workers]]></title>
            <link>https://medium.com/@tarekmebrouk/the-future-of-user-tasks-in-camunda-8-moving-beyond-job-workers-0eab547a2f38?source=rss-e480c60b0927------2</link>
            <guid isPermaLink="false">https://medium.com/p/0eab547a2f38</guid>
            <category><![CDATA[camunda]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[process-automation]]></category>
            <category><![CDATA[bpmn]]></category>
            <dc:creator><![CDATA[Tarek Mebrouk]]></dc:creator>
            <pubDate>Tue, 16 Sep 2025 17:22:06 GMT</pubDate>
            <atom:updated>2025-09-16T17:23:27.667Z</atom:updated>
            <content:encoded><![CDATA[<p>In Camunda 8, user tasks could originally be modeled as <strong><em>Job workers</em></strong>, with their lifecycle tracked indirectly through Tasklist and Elasticsearch. While functional, this approach meant that user task state wasn’t fully managed by the engine itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TlzIrcCrShJpvYjKCaMgIA.png" /></figure><p>The new <strong><em>Camunda user task</em></strong> type changes that : the workflow engine now handles the entire lifecycle natively, offering richer events, faster performance, and more consistent APIs. In this article, we’ll compare both approaches technically and from a business perspective and show why <em>Camunda user task</em> is the future of user task management.</p><h4>❓Quick view: what are User tasks</h4><p>In BPMN, a user task (or human task) represents a step in a process that requires human interaction. When a process instance reaches this point, it pause and wait for human decisions before continuing automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-u6CzPlrY_oRX-5L0jkCaQ.png" /><figcaption>User task configuration using Camunda Web Modeler</figcaption></figure><p>In Camunda 8, all human task interactions are managed through <strong><em>Tasklist</em></strong>. This is where users can see their tasks, claim or unclaim them, check who is assigned, and complete them by filling out a form if one is linked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*drikLvrgzEAegGaxoBnv-w.png" /><figcaption>Camunda Tasklist component — view user task form</figcaption></figure><p>Forms play a central role in user tasks, they define the information that user needs to provide. Once the form is submitted, the data is automatically merged with the process instance variables. You can also control which data goes in and out of a task through input and output mappings, ensuring only the right variables are exposed or updated.</p><h4>🛠️The Technical Evolution of User Tasks in Camunda 8</h4><p>Every user task in Camunda 8 has an <strong>implementation type</strong>, which can be configured in the Modeler. There are two options:</p><ul><li><strong>Job worker</strong> (the old style, inherited from Zeebe’s service-task approach)</li><li><strong>Camunda user task</strong> (the new engine-native type, now the default)</li></ul><p>This setting defines how the task lifecycle is managed under the hood. Alongside this, the <strong>Tasklist component</strong> provides an official API for companies who want to build custom tasklist applications. This API allows searching tasks, retrieving a single task, loading its form or variables, assigning/unassigning, and completing tasks essentially exposing everything Tasklist itself can do.</p><p><strong>☝️ The Job worker Approach (Legacy)</strong></p><p>Under the Job Worker implementation, <strong>user tasks are not managed by the Zeebe engine directly</strong>. They behave internally like service tasks:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*JbEX6t66VhfOpXzGQRIG_A.png" /><figcaption>Camunda 8: User task with <strong>Job worker</strong> implementation architecture</figcaption></figure><ol><li>When the process reaches a user task, Zeebe creates a job and puts it in the <strong>job queue</strong>.</li><li>The <strong>Elasticsearch exporter (or custom exporter) </strong>listens, and persists this job into Elasticsearch as a “user task record.”</li><li><strong>Tasklist</strong> queries Elasticsearch (or custom storing system) to display and manage these tasks. All updates like claiming/unclaiming or assignment are tracked only in Elasticsearch.</li><li>When the user completes the task, Tasklist calls Zeebe with the <strong>jobKey</strong> (saved earlier) to mark it as completed.</li><li>Zeebe updates the job, and the exporter then updates Elasticsearch again, which finally updates Tasklist or any custom frontend.</li></ol><blockquote>This multi-step path (Zeebe → Elasticsearch → Tasklist → Zeebe → back to Elasticsearch) makes the flow <strong>complex and relatively slow</strong>.</blockquote><p>A limitation of this model is that <strong>user task properties</strong> like assignee, candidate groups, priority, or schedule (due date, follow-up) are stored in the <strong>BPMN XML definition itself </strong>as static values. Once the process is deployed and running, these values <strong>cannot be changed dynamically</strong>.</p><blockquote>In short, Job worker user tasks are essentially service tasks in disguise, with the Tasklist and Elasticsearch “simulating” a human task system.</blockquote><p><strong>✌️ The Camunda user task Approach (Modern)</strong></p><p>With <strong>Camunda user task</strong>, the architecture changes fundamentally:</p><ol><li>When the process reaches a user task, Zeebe creates and <strong>stores the task internally</strong> in its state.</li><li>Tasklist communicates <strong>directly with Zeebe</strong>, without going through Elasticsearch for task lifecycle management.</li><li>All task updates assignment, unassignment, priority, due dates, or completion are applied <strong>immediately in the engine state</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*LlvQFetH2_xKs8zdHx-hMw.png" /><figcaption>Camunda 8: User task with <strong>Camunda user task</strong> implementation architecture</figcaption></figure><p>This shift brings several benefits:</p><ul><li><strong>Dynamic properties</strong>: Assignees, candidate groups, priority or scheduling details can be modified after deployment, even while the process is running.</li><li><strong>Faster execution</strong>: Completing or updating a task no longer requires waiting for Elasticsearch to be notified and updated. Tasklist retrieves changes directly from Zeebe.</li><li><strong>Cleaner architecture</strong>: One single source of truth <em>the engine itself</em> manages all aspects of a user task’s lifecycle.</li></ul><h4>💡Best practices</h4><ul><li><strong>Prefer <em>Camunda user task </em>for new models</strong><br> <em>Camunda user task</em> is significantly faster than <em>Job worker</em> tasks. For example, when completing a task through the Tasklist API, the response time is shorter because the engine updates task state directly, without waiting for Elasticsearch synchronization.</li><li><strong>Prepare your custom Tasklist for API changes</strong><br> Migrating from Job Worker tasks requires updating your integrations. Starting with version <strong>8.6</strong>, Camunda introduced the <strong><em>Camunda 8 REST API </em></strong>for user tasks, which should be used for all new developments instead of the older Tasklist API.</li><li><strong>Be aware of deprecations</strong><br> <em>Job worker </em>user tasks are deprecated as of <strong>8.7</strong>, and the Tasklist API will also be deprecated in <strong>8.8</strong>. If you still rely on <em>Job worker</em> tasks, make sure you understand which APIs support them but plan your migration soon to avoid being blocked.</li><li><strong>Leverage dynamic properties and events</strong><br> In the <em>Job worker</em> model, user task properties such as assignees or due dates were stored statically in the process definition (BPMN as XML) and couldn’t be changed at runtime. There were also no user task events available in exporters. With <em>Camunda user task</em>, properties are dynamic and can be updated while the process is running. In addition, Zeebe now exposes events for assignment, scheduling, and other lifecycle changes, enabling richer reporting from <strong>Optimize component.</strong></li></ul><h4>🎯Conclusion</h4><p>The introduction of <strong><em>Camunda user task</em> </strong>marks a major evolution in how user tasks are handled in Camunda 8. Compared to the legacy <em>Job worker </em>approach, it provides<strong> </strong>faster performance, dynamic task properties, richer events, and simpler architecture.</p><p>For teams building custom Tasklist applications, adopting <em>Camunda user task</em> is the recommended path. While migration requires some adjustments to code and API usage, the benefits in <strong>flexibility, observability, and maintainability</strong> make it a clear step forward for modern BPMN processes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0eab547a2f38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Governance in Camunda 8: Getting Permissions Right with Identity]]></title>
            <link>https://medium.com/@tarekmebrouk/governance-in-camunda-8-getting-permissions-right-with-identity-bc3b73ea18fb?source=rss-e480c60b0927------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc3b73ea18fb</guid>
            <category><![CDATA[process-automation]]></category>
            <category><![CDATA[business-process]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[camunda]]></category>
            <category><![CDATA[access-management]]></category>
            <dc:creator><![CDATA[Tarek Mebrouk]]></dc:creator>
            <pubDate>Tue, 02 Sep 2025 08:49:19 GMT</pubDate>
            <atom:updated>2025-09-02T08:58:11.283Z</atom:updated>
            <content:encoded><![CDATA[<p>In business process management, ensuring that each person has the right level of access is essential for both security and efficiency. This article shows how Camunda 8 addresses that challenge with its <em>Identity </em>component. We’ll explore why access governance matters, how Identity manages users, roles, and permissions across modules, and share simple examples and best practices to build a clear and secure governance model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AzPNg8zurMrK8dlrj4R32A.png" /></figure><h4><strong>Why is access governance important?</strong></h4><p>Without clear access governance, business process management platforms risk becoming chaotic: too many permissions for the wrong people create security gaps, while too few block efficiency. Good governance ensures that each role (business user, analyst, or administrator) can see and do exactly what they need, nothing more and nothing less. This prevents errors, strengthens compliance, and builds trust across teams.</p><h4>❓A quick look at Camunda 8</h4><p>Camunda 8 is a platform for designing, automating, and monitoring business processes. It comes with several key modules:</p><ul><li><strong>Modeler</strong> : where processes and decisions (BPMN, DMN) are designed.</li><li><strong>Operate</strong> : to monitor and manage process instances in execution.</li><li><strong>Tasklist</strong> : for users to complete assigned human tasks.</li><li><strong>Optimize</strong> : to analyze performance and gain insights for improvement.</li><li><strong>Identity</strong> : to manage users, roles, and permissions across the platform.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*IRaqDiCjySWY7viTHR1oPQ.png" /><figcaption>Camunda 8 components &amp; architecture (from Camunda docs).</figcaption></figure><h4><strong>📝</strong>Introducing Camunda Identity</h4><p>Identity is a core component of Camunda 8 Self-Managed, dedicated to configuring and governing users, roles, groups, permissions, and access to the platform’s APIs and applications. It acts as the central hub for defining <em>who can do what</em> across all Camunda modules. Key features of Identity include:</p><ol><li><strong>User management</strong> — Users are typically synchronized from an external identity provider such as <strong>Keycloak</strong> or <strong>LDAP</strong>, ensuring centralized and secure authentication.</li><li><strong>Groups and roles</strong> — Users can be organized into groups, and roles can be assigned to define responsibilities and streamline permission management at scale.</li><li><strong>Applications</strong> — A special entity in Identity that manages how external applications authenticate and interact with Camunda modules.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yWD4oOA26p41wd7M18PShw.png" /><figcaption>Camunda 8 — Identity component home page</figcaption></figure><h4>👉From Users to Permissions: How Identity Structures Governance</h4><p>In Camunda Identity, governance relies on the relationship between users, groups, roles, and permissions.</p><ul><li><strong>Users</strong> can belong to one or several groups, and can also hold roles directly.</li><li><strong>Groups</strong> are collections of users. They can be assigned one or more roles, which then apply to all group members.</li><li><strong>Roles</strong> define sets of permissions and are the main way to manage access consistently.</li><li><strong>Permissions</strong> specify the exact actions that a role can perform.</li><li><strong>Authorizations</strong> extend permissions by applying them to specific resources, such as process definitions (BPMN) or decisions (DMN).</li></ul><p>This layered structure ensures flexibility: access can be granted globally through roles or refined per resource through authorizations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2azHyJ-rwYKHwJrJvScRGA.png" /><figcaption>Relationship between Camunda Identity components</figcaption></figure><h4>🪜Two levels of access governance</h4><h4>1. Module access (API and applications)</h4><p>The first level of governance concerns which Camunda components a user can access. This is managed through roles and their permissions or directly inside applications list section.</p><p>When configuring a role, permissions are assigned per module API for example <strong>Operate, Tasklist, Web Modeler, or Optimize</strong>. Each permission depends on the API selected (e.g. read, write, update).</p><p><strong>Example: </strong>to allow a user to view process instances in <strong>Operate</strong> as a visitor, you would:</p><ul><li>Assign them the <em>Operate</em> role.</li><li>Configure this role with the Operate API as <strong>read-only permission</strong>.</li><li>As a result, the user can see processes and instances but cannot start, cancel, or modify them.</li></ul><h4>2. Resource-level authorizations (processes and decisions)</h4><p>The second level of governance applies directly to <strong>resources</strong> inside Camunda, such as process definitions (BPMN) or decisions (DMN). These are assigned to <strong>users or groups</strong> individually. Configuring an authorization follows three steps:</p><ol><li><strong>Select the resource type : </strong><em>Process Definition</em> or <em>Decision</em>.</li><li><strong>Select the resource ID : </strong>e.g. the bpmnProcessId of a BPMN model. A wildcard * can be used to apply the authorization to all resources of that type.</li><li><strong>Assign permissions</strong> — e.g. for processes: read, update, delete, start; for decisions: read, delete.</li></ol><p><strong>Example: </strong>to give a user read-only access to a specific process called ApprovalProcess</p><ul><li>Create an authorization of type <strong>Process Definition</strong>.</li><li>Set the resource ID to ApprovalProcess.</li><li>Assign the <strong>read</strong> permission only.<br> The user will now be able to view this process without being able to start or modify it.</li></ul><h4>💡Best practices</h4><p>Implementing access governance is not only about granting permissions, but about doing it in a way that remains secure, scalable, and easy to maintain. Here are some best practices to follow when using Camunda Identity:</p><ul><li><strong>Apply the principle of least privilege</strong><br> Always grant only the permissions that are strictly necessary for a role. This reduces security risks and prevents accidental actions that could disrupt production.</li><li><strong>Avoid giving “super-user” powers</strong><br> No single user should hold all possible permissions. Separate responsibilities across roles and teams to minimize risk and ensure accountability.</li><li><strong>Use groups and roles, not individual assignments</strong><br> Instead of assigning permissions directly to individual users, assign them to groups or roles. This way, changes can be made once at the group/role level instead of repeating them for every single user. It scales much better when teams grow.</li></ul><h4>🎯Conclusion</h4><p>Strong access governance is essential to protect processes, ensure compliance, and keep teams efficient. With Camunda 8 Identity, organizations can manage users, roles, and permissions in a structured way that scales across modules and resources. By applying best practices like least privilege, group-based roles, and restricted sensitive actions you can build a governance model that is both secure and easy to maintain.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc3b73ea18fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Step-by-Step Guide to Creating a Custom REST Connector in Camunda 8]]></title>
            <link>https://medium.com/@tarekmebrouk/step-by-step-guide-to-creating-a-custom-rest-connector-in-camunda-8-b3f27afdbfc8?source=rss-e480c60b0927------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3f27afdbfc8</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[bpmn]]></category>
            <category><![CDATA[camunda]]></category>
            <category><![CDATA[process-automation]]></category>
            <dc:creator><![CDATA[Tarek Mebrouk]]></dc:creator>
            <pubDate>Sun, 11 May 2025 16:18:36 GMT</pubDate>
            <atom:updated>2025-05-11T16:18:36.021Z</atom:updated>
            <content:encoded><![CDATA[<p>In the last article, we looked at how to use Camunda 8’s built-in REST connectors to connect APIs in BPMN processes. This time, we’ll go a step further by creating a custom REST connector that fits specific needs. This makes the connector easier to reuse and hides the technical details, so even business users can work with external APIs more easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m5TsNAhulMYASYm8npfvVg.png" /></figure><h4>🛠️ Why Create a Custom REST Connector ?</h4><p>While Camunda 8’s default REST connectors offer robust functionality, certain scenarios demand a more customized approach:</p><ul><li><strong>Reusability</strong>: Encapsulate specific API interactions for consistent use across multiple processes.</li><li><strong>Simplified Configuration</strong>: Expose only essential parameters, hiding technical details.</li><li><strong>Enhanced Maintainability</strong>: Centralize API configurations, making updates more manageable.</li></ul><h4>🔧 Building the Custom REST Connector</h4><p>In this example, we’ll create a <strong>custom REST connector</strong> based on the <a href="http://dummyjson.com/">dummyjson API</a>, specifically for the GET /products endpoint. This endpoint accepts <strong>three query parameters</strong> that we want to expose in a user-friendly way:</p><ul><li>limit: to control the number of results</li><li>sortBy: to choose the field used for sorting</li><li>order: to select ascending or descending sort order</li></ul><p>Our <strong>goal</strong> is to package this into a <strong>custom connector</strong> with:</p><ul><li>A clear name, description, and icon</li><li>Only the relevant business parameters visible</li><li>All technical details hidden</li><li>A reusable template ready to be used in any BPMN process</li></ul><p>This will <strong>enhance readability</strong> and <strong>reusability</strong> in the modeler, especially for business stakeholders who shouldn’t have to deal with technical fields.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*0vgRDS1zAVh6XUx4ftBDaQ.png" /><figcaption>REST Connector Configuration: Before and After Customization in Camunda Modeler</figcaption></figure><p><strong><em>(Step 1)</em> — Configure the REST Connector Normally</strong></p><p>First, follow the instructions from the previous article to configure a REST connector in the Camunda Modeler. <a href="https://medium.com/p/c11e4a1822cf">[Link to previous article]</a></p><p>Once the connector is working, click on the “Save As” button next to the connector name, then a popup appears fill in the <strong>name</strong> and <strong>description</strong> of your new custom connector and click <strong>Save.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*wKllg4MUOqM4cwXFsPR4MQ.png" /><figcaption>Save Rest connector template as custom connector</figcaption></figure><p>Camunda will now open the <strong>Connector Template Editor</strong>, where you’ll customize everything.</p><p><strong><em>(Step 2)</em> — Customize the Icon</strong></p><p>At the top-right corner of the editor, click on the “Add icon” button. You can upload an icon from your device or provide a URL to an icon online</p><p>Camunda will automatically <strong>convert it to a base64 string</strong> and include it inside the connector template. This helps your connector stand out in the BPMN modeler with a visual cue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*odYYK7OOQinB6ib2nQ8IQg.png" /><figcaption>Update custom connector icon</figcaption></figure><p><strong><em>(Step 3)</em> — Understand the Template Structure</strong></p><p>Here’s a quick overview of the sections in the connector template:</p><ul><li><strong>Uneditable section</strong> (colored in the UI): includes schema, name, id, version. These are auto-generated based on the template name.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jAdGIGF8eqsnVHBYvfCckQ.png" /><figcaption>Camunda 8 Rest Connector template structure</figcaption></figure><ul><li><strong>Editable fields</strong>:</li></ul><p>description: documentation shown in the modeler.</p><p>documentationRef: URL to usage instructions (very helpful for non-devs).</p><p>appliesTo and elementType: defines which BPMN elements this connector can be attached with.</p><p>groups: logical sections to organize form fields.</p><p>properties: actual fields users will configure (input, output, HTTP method, query params, etc.)</p><p>Let’s create a single group for our three parameters:</p><pre>&quot;groups&quot;: [<br>  {<br>    &quot;id&quot;: &quot;settings&quot;,<br>    &quot;label&quot;: &quot;Search params&quot;<br>  }<br>]</pre><p><strong><em>(Step 4)</em> — Clean &amp; Configure the Inputs</strong></p><ul><li><strong>Clean Up Technical Properties</strong></li></ul><p>Remove sections like authentication (in our use case) or unused fields that must exist but shouldn’t be visible (e.g., url, method, etc.), use :</p><pre>&quot;type&quot;: &quot;Hidden&quot;</pre><ul><li><strong>Create the Business Parameters</strong></li></ul><p>We’ll now add the three parameters (limit, sortBy, order) inside the <strong>Search params</strong> group.</p><ol><li><strong>Limit</strong></li></ol><pre>{<br>  &quot;id&quot;: &quot;settings.limit&quot;,<br>  &quot;label&quot;: &quot;Search limit&quot;,<br>  &quot;group&quot;: &quot;settings&quot;,<br>  &quot;description&quot;: &quot;Limit of fetched products. Default = 10&quot;,<br>  &quot;optional&quot;: false,<br>  &quot;feel&quot;: &quot;optional&quot;,<br>  &quot;constraints&quot;: {<br>    &quot;notEmpty&quot;: true<br>  },<br>  &quot;binding&quot;: {<br>    &quot;name&quot;: &quot;settings.limit&quot;,<br>    &quot;type&quot;: &quot;zeebe:input&quot;<br>  },<br>  &quot;type&quot;: &quot;Number&quot;,<br>  &quot;value&quot;: 10<br>}</pre><p><strong>2. SortBy</strong></p><pre>{<br>  &quot;id&quot;: &quot;settings.sortBy&quot;,<br>  &quot;label&quot;: &quot;Search sort by&quot;,<br>  &quot;group&quot;: &quot;settings&quot;,<br>  &quot;optional&quot;: false,<br>  &quot;constraints&quot;: {<br>    &quot;notEmpty&quot;: true<br>  },<br>  &quot;binding&quot;: {<br>    &quot;name&quot;: &quot;settings.sortBy&quot;,<br>    &quot;type&quot;: &quot;zeebe:input&quot;<br>  },<br>  &quot;type&quot;: &quot;Dropdown&quot;,<br>  &quot;choices&quot;: [<br>    { &quot;name&quot;: &quot;Category *&quot;, &quot;value&quot;: &quot;category&quot; },<br>    { &quot;name&quot;: &quot;Price $&quot;, &quot;value&quot;: &quot;price&quot; },<br>    { &quot;name&quot;: &quot;Rating ^&quot;, &quot;value&quot;: &quot;rating&quot; },<br>    { &quot;name&quot;: &quot;Discount %&quot;, &quot;value&quot;: &quot;discountPercentage&quot; }<br>  ]<br>}</pre><p><strong>3. Order</strong></p><pre>{<br>  &quot;id&quot;: &quot;settings.order&quot;,<br>  &quot;label&quot;: &quot;Search sort order&quot;,<br>  &quot;group&quot;: &quot;settings&quot;,<br>  &quot;optional&quot;: false,<br>  &quot;constraints&quot;: {<br>    &quot;notEmpty&quot;: true<br>  },<br>  &quot;binding&quot;: {<br>    &quot;name&quot;: &quot;settings.order&quot;,<br>    &quot;type&quot;: &quot;zeebe:input&quot;<br>  },<br>  &quot;type&quot;: &quot;Dropdown&quot;,<br>  &quot;choices&quot;: [<br>    { &quot;name&quot;: &quot;ASC&quot;, &quot;value&quot;: &quot;asc&quot; },<br>    { &quot;name&quot;: &quot;DESC&quot;, &quot;value&quot;: &quot;desc&quot; }<br>  ]<br>}</pre><p><strong><em>(Step 5)</em> — Bind Query Parameters</strong></p><p>Now, bind the three parameters to the actual query string using a FEEL expression.</p><p>Find the property with id = &quot;queryParameters&quot; and update its value:</p><pre>{<br> &quot;id&quot;: &quot;queryParameters&quot;,<br> &quot;binding&quot;: {<br> &quot;name&quot;: &quot;queryParameters&quot;,<br> &quot;type&quot;: &quot;zeebe:input&quot;<br> },<br> &quot;type&quot;: &quot;Hidden&quot;,<br> &quot;value&quot;: &quot;={ \&quot;limit\&quot;: settings.limit, \&quot;sortBy\&quot;: settings.sortBy, \&quot;order\&quot;: settings.order }&quot;<br>}</pre><blockquote>💡 <em>Tip:</em> You can use the same approach for requestBody when configuring a POST or PATCH connector, just make sure to correctly bind the body fields.</blockquote><p><strong><em>(Step 6)</em> — Publish Your Custom Connector</strong></p><p>To make your connector available in BPMN modeling. Click on <strong>Publish</strong> (top-right) then choose:</p><ul><li><strong>Project</strong>: limited to one specific project</li><li><strong>Organization</strong>: reusable across all projects.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*kr2c4pFRvnXdfaJj8JvwVA.png" /><figcaption>Choose type of publication of connector template</figcaption></figure><p>Fill in a <strong>version name</strong> for this template (useful for updates later), and click <strong>Publish</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*6FoOmj70aUcdbqMJ8IfpLA.png" /><figcaption>Publish version of custom connector template</figcaption></figure><p>🚀 Done! Your connector is now available. When you create a <strong>Service Task</strong> and click on the <strong>Element Type</strong>, you’ll see your connector by its custom name and icon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*WUpDPCSb2wftzAg1aHG7JQ.png" /><figcaption>Using Custom Rest connector inside BPMN process</figcaption></figure><p>A clean interface with only the three necessary inputs — nothing else! this makes it <strong>easy to use</strong>, <strong>business-friendly</strong>, and highly <strong>reusable</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*EUapbkayqJff7eOKUVP1QA.png" /><figcaption>Display of Custom REST Connector Configuration</figcaption></figure><h3>💡 Best Practices</h3><ol><li><strong>Respect the order of variable usage</strong><br> When building a connector template based on the REST connector, always define variables <em>before</em> where they are used. For example, in our use case, the queryParameters field depends on the values of settings.limit, settings.sortBy, and settings.order, so these must be defined <strong>before</strong> queryParameters. Otherwise, they will be evaluated as null.</li><li><strong>Use </strong><strong>&quot;feel&quot;: &quot;optional&quot; for custom business fields</strong><br> Always enable FEEL expressions on business-oriented input fields using &quot;feel&quot;: &quot;optional&quot;. This makes it easier for business users to bind values dynamically, for example from user form submissions or process variables.</li><li><strong>Organize fields using </strong><strong>groups</strong><br> When your custom connector has multiple input fields, split them into logical sections using groups. This makes the configuration UI much clearer and more usable.</li><li><strong>Add connector documentation links</strong><br> Use the documentationRef field to link to a dedicated documentation page. This is particularly helpful in bridging the gap between technical and business teams, avoiding repetitive explanations during modeling.</li><li><strong>Define a versioning and publishing strategy</strong><br> Establish a clear deployment strategy for managing connector templates across environments (dev, staging, prod) and/or across projects.</li></ol><blockquote><strong>Remember</strong>: <em>updating a connector template requires updating each BPMN model using it manually — plan accordingly !</em></blockquote><p>You can find the GitHub repository containing the necessary BPMN and Connector template files for the example process, along with the required configuration to run it locally, and detailed installation instructions, at the following <a href="https://github.com/TarekMebrouk/camunda-8-articles/tree/custom-rest-connector">[GitHub Repository Link]</a></p><h3>🎯 Conclusion</h3><p>Creating custom REST connectors in Camunda is a powerful way to simplify process modeling and improve collaboration between technical and business users. By hiding low-level configurations and exposing only the relevant parameters, we make connectors more readable, reusable, and business-friendly. With the right structure and best practices in place, your modeling experience becomes more intuitive — and your connectors more robust.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3f27afdbfc8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating REST API Calls with Camunda 8: Everything You Need to Know]]></title>
            <link>https://medium.com/@tarekmebrouk/automating-rest-api-calls-with-camunda-8-everything-you-need-to-know-c11e4a1822cf?source=rss-e480c60b0927------2</link>
            <guid isPermaLink="false">https://medium.com/p/c11e4a1822cf</guid>
            <category><![CDATA[api-integration]]></category>
            <category><![CDATA[process-automation]]></category>
            <category><![CDATA[bpmn]]></category>
            <category><![CDATA[camunda8]]></category>
            <category><![CDATA[microservices]]></category>
            <dc:creator><![CDATA[Tarek Mebrouk]]></dc:creator>
            <pubDate>Sun, 06 Apr 2025 14:42:08 GMT</pubDate>
            <atom:updated>2025-04-06T14:42:08.986Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_4aso9uxLUmbUhl1bv0yDQ.png" /></figure><p>In a world where automation is key, orchestrating REST API calls within your workflows can quickly become a challenge. Luckily, <strong>Camunda 8 makes this process seamless with its REST connectors</strong>, allowing you to call external services without writing a single line of code.</p><p>✅ <strong>Why does it matter?</strong> Because it eliminates spaghetti code, standardizes API calls, and enhances process maintainability.</p><p>In this article, we’ll explore <strong>how to configure a REST connector in Camunda 8</strong> and apply it to a real-world use case: an animal adoption process. <strong>Let’s dive in!</strong> 🔥</p><h3>⚙️ REST Connector Configuration in Camunda 8</h3><p>A REST connector in Camunda 8 allows you to make HTTP requests to an API directly from a BPMN process. Below are the different sections to configure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xmYQpFgTn4niRWm8B78Mgg.png" /><figcaption>How to add Rest connector from Camunda 8 Connectors Marketplace ?</figcaption></figure><h4>🔐 1. <strong>Authentication Configuration</strong></h4><p>Camunda 8 supports multiple authentication methods for REST requests:</p><ul><li><strong>None</strong>: No authentication required.</li><li><strong>API Key</strong>: The API key is included in the header or query parameters.</li><li><strong>Basic Auth</strong>: Uses a username and password.</li><li><strong>Bearer Token</strong>: A token provided in the header.</li><li><strong>OAuth 2.0</strong>: Authentication using a client ID and secret to obtain a token.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*KuQ_QM85qbucgqmrqVlcgg.png" /><figcaption>Example of oauth configuration using camunda secrets</figcaption></figure><blockquote>To keep credentials secure, it is recommended to use <a href="https://docs.camunda.io/docs/components/console/manage-clusters/manage-secrets/"><strong>Camunda secrets</strong></a>, defined during platform setup. For example, for Basic authentication, credentials can be stored as secrets and referenced using <em>{{secrets.[SECRET_NAME]}}.</em></blockquote><h4>🌍 2. <strong>HTTP Endpoint Configuration</strong></h4><p>This section defines how the API request is sent. Key parameters include:</p><ul><li><strong>HTTP Method</strong>: GET, POST, PUT, DELETE, PATCH.</li><li><strong>URL</strong> <em>(required)</em>: Can be a static string or a FEEL expression injecting instance variables.</li><li><strong>Headers</strong> <em>(optional)</em>: Defined as a FEEL Map of key/value pairs. If no Content-Type is set, application/json is used by default.</li><li><strong>Query Parameters</strong> <em>(optional)</em>: Also defined as a FEEL Map, allowing dynamic injection of instance variables.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*UTBkslG79gt8Z-TnvwHsuQ.png" /><figcaption>Example of Http endpoint configuration with Petfinder API</figcaption></figure><h4>📦 3. <strong>Payload Configuration</strong></h4><p>For POST, PUT, or PATCH requests, a <strong>payload</strong> needs to be defined:</p><ul><li><strong>Body (Data)</strong>: Can be a static JSON string or a FEEL expression injecting instance variables.</li><li><strong>Ignore Null Values</strong> <em>(optional)</em>: When enabled, null fields are excluded from the payload &amp; queryParams.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*Eae6CVkRvcFYlZmKeNkPYQ.png" /><figcaption>Example of payload configuration inside Rest Connector</figcaption></figure><h4>📤 4. <strong>Response Configuration</strong></h4><p>The REST connector stores the HTTP response in a variable called response. Configuration options include:</p><ul><li><strong>Response Variable Name</strong> <em>(optional)</em>: Allows renaming response.</li><li><strong>Result Expression</strong> <em>(optional)</em>: Extracts specific parts of response.body into a FEEL Map. Example:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*2ff2OGA0AMOVfQ4yZ_yF7Q.png" /><figcaption>Example output mapping configuration for PetFinder API</figcaption></figure><h4>⚠️ 5. <strong>Error Handling</strong></h4><p>There are two types of errors that can occur:</p><ul><li><strong>HTTP Errors (e.g., 404, 500, etc.)</strong>: Stored in the error variable, accessible via FEEL.</li><li><strong>Technical Incidents (e.g., timeout, network failure, etc.)</strong>: These cannot be directly caught and will interrupt the process.</li></ul><p>An HTTP error can be captured and converted into a <strong>BpmnError</strong>, which can be handled in the BPMN process using an Error Boundary Event.</p><pre>BpmnError(&quot;NOT_FOUND&quot;, error.message, error.variables.response.body)</pre><p>Example of triggering a BPMN error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F5E8_9A79Oy_NW3XSaan4A.png" /><figcaption>Example of Error handling using error expressions</figcaption></figure><blockquote>If the Result Expression returns null while an error is received, Camunda automatically generates an incident.</blockquote><h4>🔁 6. <strong>Technical Details: Timeout &amp; Retry</strong></h4><ol><li><strong>Timeout</strong>: Configurable for connection, read, and write operations. The default is <strong>20 seconds</strong> (0 means infinite timeout).</li><li><strong>Retry Mechanism</strong>: Configurable with two parameters :</li></ol><ul><li><strong>Retries</strong>: Number of retry attempts.</li><li><strong>Retry Backoff</strong>: A FEEL expression defining the delay between retries (e.g., PT0S for an instant retry).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oilbi7EIF-2wAe2UzxN41A.png" /><figcaption>Example of default configuration for Retry &amp; Connection timeout inside Rest connectors</figcaption></figure><h3>🐾 Practical Example: Automating Animal Adoption with BPMN</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*B09xjciHz01d0MkVZcHVbg.png" /><figcaption>Mini Adoption process in Camunda 8 using PetFinder &amp; Dummyjson APIs</figcaption></figure><p>The adoption process starts when the user initiates a new instance by entering their pet preferences. This data is then passed to the <a href="https://www.petfinder.com/"><strong>PetFinder </strong></a>API to retrieve a list of available animals that match the user’s criteria. The user reviews and selects an animal from the list. Next, a request is sent to a fake API (<a href="https://dummyjson.com/"><strong>Dummyjson</strong></a>) to simulate the adoption process.</p><p>A random value between 0 and 1 is generated. If the value is 1, the process returns a <strong>200 </strong>response indicating success, completing the process. If the value is 0, a <strong>404 </strong>error is returned, with the message stating that the selected animal is no longer available for adoption. In this case, a BpmnError is triggered and caught by the Error Boundary Event, redirecting the user back to the animal selection form with a message indicating that the selected animal is no longer available, prompting them to choose a new one.</p><p>This scenario demonstrates how Camunda 8’s REST connectors are used to integrate external APIs, handle errors, and manage user interactions within a BPMN workflow.</p><p>You can find the GitHub repository containing the necessary BPMN and FORM files for the example process, along with the required configuration to run it locally, and detailed installation instructions, at the following <a href="https://github.com/TarekMebrouk/camunda-8-articles/tree/rest-connector">[GitHub Repository Link]</a></p><h3>💡Best Practices</h3><ul><li><strong>Reusing REST Connectors:</strong><br> In a project, it’s essential to create reusable REST connectors to save time and ensure consistency across processes. These connectors should be designed so that various users (developers, Product Owners, business teams, etc.) can use them without handling the technical details. This reusability can be enhanced by registering a REST connector into a connector specific to a particular need, hiding technical details. We will explore this approach in a future article, where we will detail how to create and configure these modular connectors.</li><li><strong>Filter the connector results</strong><br> Instead of directly saving the full response into the default response variable, it is recommended to filter out only the necessary data for the process execution. By using <strong>FEEL expressions</strong>, you can extract only the essential information for routing, ensuring that unnecessary data does not overload the process. This avoids conflicts with results from other connectors and ensures a clearer management of variables.</li><li><strong>Handle Errors Gracefully:</strong><br> It’s crucial to define error-handling strategies in your processes, such as redirecting users to fallback steps or displaying meaningful error messages when necessary. This helps improve the user experience and ensures your workflow continues smoothly, even if there are external service failures.</li><li><strong>Use Secrets for Sensitive Information:</strong><br> When configuring REST connectors, sensitive data like API keys or credentials should be stored securely. Always use the <strong>secrets </strong>management feature in Camunda 8 to handle API keys, passwords, or other sensitive credentials. This ensures they are not exposed in the process model or on monitoring tools like Operate.</li><li><strong>Optimize Performance and Efficiency:</strong><br> Connectors can sometimes become a bottleneck if not optimized. Ensure that your API calls are efficient by minimizing unnecessary requests and optimizing payloads. Pay attention to response times and configure retries appropriately to avoid overloading external services.</li></ul><h3>🎯 Conclusion</h3><p>In conclusion, REST connectors in Camunda 8 offer an easy and powerful way to connect external APIs to your BPMN processes. Configuring them properly and following best practices ensures that your integrations are not only efficient but also secure and maintainable. From handling authentication securely to managing API responses and errors, these connectors allow you to create scalable, robust workflows. By filtering the results and using the connector’s features, you can improve the overall performance of your processes. Finally, the ability to reuse connectors for different use cases will help keep your projects clean and easy to manage, while offering flexibility as your business needs evolve.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c11e4a1822cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>