Soenneker.Ifttt.Webhooks
4.0.50
Prefix Reserved
dotnet add package Soenneker.Ifttt.Webhooks --version 4.0.50
NuGet\Install-Package Soenneker.Ifttt.Webhooks -Version 4.0.50
<PackageReference Include="Soenneker.Ifttt.Webhooks" Version="4.0.50" />
<PackageVersion Include="Soenneker.Ifttt.Webhooks" Version="4.0.50" />
<PackageReference Include="Soenneker.Ifttt.Webhooks" />
paket add Soenneker.Ifttt.Webhooks --version 4.0.50
#r "nuget: Soenneker.Ifttt.Webhooks, 4.0.50"
#:package Soenneker.Ifttt.Webhooks@4.0.50
#addin nuget:?package=Soenneker.Ifttt.Webhooks&version=4.0.50
#tool nuget:?package=Soenneker.Ifttt.Webhooks&version=4.0.50
Soenneker.Ifttt.Webhooks
Triggers IFTTT Webhooks events with the optional value1, value2, and value3 ingredients.
Install
dotnet add package Soenneker.Ifttt.Webhooks
Register
using Soenneker.Ifttt.Webhooks.Registrars;
services.AddIftttWebhookUtilAsScoped();
The scoped utility deliberately uses a singleton HTTP client cache. Individual utility scopes can end without destroying the long-lived client used by later calls. Use AddIftttWebhookUtilAsSingleton() when the utility itself should also have application lifetime.
Trigger an event
using Soenneker.Ifttt.Webhooks.Abstract;
public sealed class DeploymentNotifier(
IIftttWebhookUtil webhooks,
IConfiguration configuration)
{
public async Task Notify(string version, CancellationToken cancellationToken)
{
string key = configuration["Ifttt:WebhookKey"]
?? throw new InvalidOperationException("Ifttt:WebhookKey is not configured");
await webhooks.Trigger(
eventName: "deployment_completed",
key: key,
value1: version,
value2: "production",
cancellationToken: cancellationToken);
}
}
The three values are optional and are serialized as IFTTT's value1, value2, and value3 JSON fields. Trigger() returns IFTTT's response body and throws HttpRequestException for a non-success status.
Treat the Webhooks key as a secret. It is part of IFTTT's required request path, so configure HTTP logging and tracing to redact or omit the URL before using this client in an environment that records outbound requests.
| Product | Versions 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. |
-
net10.0
- Soenneker.Utils.HttpClientCache (>= 4.0.2090)
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 |
|---|---|---|
| 4.0.50 | 90 | 9/17/2026 |
| 4.0.49 | 44 | 9/16/2026 |
| 4.0.48 | 57 | 9/16/2026 |
| 4.0.47 | 39 | 9/16/2026 |
| 4.0.46 | 49 | 9/15/2026 |
| 4.0.45 | 96 | 9/13/2026 |
| 4.0.44 | 83 | 9/13/2026 |
| 4.0.43 | 116 | 9/13/2026 |
| 4.0.42 | 86 | 9/12/2026 |
| 4.0.41 | 79 | 9/12/2026 |
| 4.0.40 | 109 | 9/9/2026 |
| 4.0.39 | 95 | 9/9/2026 |
| 4.0.38 | 100 | 9/8/2026 |
| 4.0.37 | 98 | 9/7/2026 |
| 4.0.36 | 96 | 9/7/2026 |
| 4.0.35 | 122 | 9/5/2026 |
| 4.0.34 | 93 | 9/4/2026 |
| 4.0.33 | 93 | 9/4/2026 |
| 4.0.32 | 91 | 9/4/2026 |
| 4.0.30 | 93 | 9/4/2026 |