Integrate with Azure Event Hubs

Exchange data with 3rd party services using Azure Event Hubs.

Authentication

Azure Event Hubs doesn't use OAuth 2.0 scopes like Microsoft Graph API. Instead, authentication is handled through Shared Access Policy.

Before you begin

Connect your hub

  1. Log in to Next Matter with an admin account.

  2. In Automations Library [ left-hand navigation panel], click Connect on the Azure Event Hubs tile.

  3. Paste your Connection string for a specific event hub from your Azure Portal.

    Find the Connection string
    1. Go to Azure Portal > All services.
    2. In the search bar at the top, type Event Hubs and select Event Hubs from the results.
    3. Click on the namespace to which the event hub resides.
    4. On the Event Hubs namespace page, select the event hub in the bottom pane.
    5. On the Event Hubs instance page, click Settings > Shared access policies.
    6. If the policy hasn't been created for this event hub, click + Add, give the namespace a name, and select the Listen and Send policies.
    7. Click Create.
    8. Click the policy to open it and copy the Connection string-primary key.
      It should look like the following:
      Endpoint=sb://<NamespaceName>.servicebus.windows.net/;SharedAccessKeyName=<KeyName>;SharedAccessKey=<KeyValue>;EntityPath=<EventHubName>
      

Send data from Next Matter to the Event Hub

  1. In your Next Matter portal, click Workflows.

  2. Click Edit workflow.

  3. Click +Add step and select Integration > Azure Event Hubs.

  4. Select the Send event to Hub operation.

  5. Select the event hub to send the data to.

  6. In the Event data field, enter the data you need to send. You can enter the JSON manually or use data references to replace specific data chunks. Your data to send might look like the following:

  7. (Optional) You can send custom workflow data as properties to the event hub. Enter the name and value of the data chunk, or select a data reference.

  8. Save your operation.

📘

All timestamps and date formats are displayed according to UTC time.