Uniform.Integrations.Zapier 1.0.41-preview

This is a prerelease version of Uniform.Integrations.Zapier.
dotnet add package Uniform.Integrations.Zapier --version 1.0.41-preview
                    
NuGet\Install-Package Uniform.Integrations.Zapier -Version 1.0.41-preview
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Uniform.Integrations.Zapier" Version="1.0.41-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Uniform.Integrations.Zapier" Version="1.0.41-preview" />
                    
Directory.Packages.props
<PackageReference Include="Uniform.Integrations.Zapier" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Uniform.Integrations.Zapier --version 1.0.41-preview
                    
#r "nuget: Uniform.Integrations.Zapier, 1.0.41-preview"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Uniform.Integrations.Zapier@1.0.41-preview
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Uniform.Integrations.Zapier&version=1.0.41-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Uniform.Integrations.Zapier&version=1.0.41-preview&prerelease
                    
Install as a Cake Tool

Uniform.Integrations.Zapier

Zapier integration for the Uniform microservice framework. Supports sending outgoing payloads to Zapier webhook actions and consuming incoming Zapier webhook triggers via the Uniform Bridge.

Installation

dotnet add package Uniform
dotnet add package Uniform.Integrations.Zapier

Setup

Register your webhooks by name using WithZapierModule when bootstrapping your service. The names are keys you choose; their URLs are resolved from config at runtime.

await UniformService<MyService>
    .Initialise()
    .WithModule<RabbitMqModule>()
    .WithZapierModule("order-placed", "user-signed-up")
    .Run();

Outgoing — sending to Zapier

Configuration

For each registered name, set its URL in config:

Key Description
Uniform:Integrations:Zapier:{name}:Url The Zapier catch-hook URL for this webhook

Set these in appsettings.json or environment variables (use __ as the hierarchy separator, e.g. Uniform__Integrations__Zapier__order-placed__Url). Remote config via the Uniform Licensing UI is recommended so URLs are not baked into your deployments.

On startup, ZapierModule logs a Ready confirmation for each webhook that has a URL configured, or a Warning for any that are missing — so misconfiguration is caught immediately.

Sending a message

Inject IZapierWebhookClient and call by name:

public class OrderPlacedConsumer : IConsumer<OrderPlaced>
{
    private readonly IZapierWebhookClient _zapier;

    public OrderPlacedConsumer(IZapierWebhookClient zapier) => _zapier = zapier;

    public async Task Consume(OrderPlaced message)
    {
        await _zapier.SendMessage("order-placed", $"New order {message.OrderId}");
    }
}

Sending structured data

Use SendPayload to send multiple fields. Each key becomes a separately mappable field inside Zapier:

await _zapier.SendPayload("order-placed", new()
{
    ["orderId"]  = order.Id,
    ["customer"] = order.CustomerName,
    ["total"]    = order.Total
});

Query string parameters

Both SendMessage and SendPayload accept an optional queryString dictionary. These are appended to the webhook URL separately from the JSON body — e.g. https://hooks.zapier.com/...?source=my-service&env=production. This corresponds directly to Zapier's Query String Params field in the webhook action, which is useful for passing routing metadata or context that sits outside the main payload.

Keys and values are automatically percent-encoded using Microsoft.AspNetCore.WebUtilities.QueryHelpers, so no manual escaping is needed.

await _zapier.SendPayload("order-placed", new()
{
    ["orderId"]  = order.Id,
    ["customer"] = order.CustomerName
},
queryString: new()
{
    ["source"] = "order-service",
    ["env"]    = "production"
});

Incoming — receiving from Zapier

Incoming Zapier webhooks are handled by a Uniform Bridge running inside your network. The Bridge exposes a webhook endpoint that Zapier targets, receives the payload, and publishes a ZapierWebhookReceived message into RabbitMQ — no changes required to your service.

Point your Zapier trigger's webhook URL at your Bridge:

POST https://your-bridge/zapier/webhook

The Bridge accepts both application/json and application/x-www-form-urlencoded payloads, as well as query string parameters, normalising everything into a single dictionary.

No registration is required — consumers are discovered automatically by Uniform. See the Uniform Bridge documentation for setup instructions.


Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.41-preview 37 9/11/2026
1.0.40-preview 67 7/21/2026