Send message to Azure event hub

Last published at: May 14th, 2024


Send message to Azure event hub.


  • connectionString - Azure connection
  • eventHubName - Event hub name
  • message - Message to send
  • messageParms - Message parameters 


  • True – step executed successfully
  • False – step failed to execute 



Let’s build and execute the SendAzureEventHubMessageDef example.          

  • Create a new definition called “SendAzureEventHubMessageDef
  • Select the definition and click the “design” button
  • Drag a SendAzureEventHubMessage step from the toolbox
  • Connect the dots between the start and SendAzureEventHubMessage step

  • Click on the “SendAzureEventHubMessage” step to configure its properties
  • Specify the Azure path connection in the “Azure connection string” textbox in the right panel
  • Specify the Event Hub Name and Message to send the messages across in the “Event Hub name” in the right panel as shown below

  • Define message params 

  • Save the workflow definition
  • Create a workflow instance and execute
  • Workflow will start, send event hub message.