Skip to content

Commit

Permalink
Update README to include WorkflowGroup client
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelNagato authored and wh1337 committed Jul 18, 2023
1 parent 759cdb9 commit 690cf72
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,24 @@ var result = await novu.Topic.RenameTopicAsync("my-topic", topicRequest);

```

## WorkflowGroups

```csharp
...
Using Novu.DTO.WorkflowGroup

// Create a new Workflow group
var request = new WorkflowGroupDto
{
WorkflowGroupName = "<name of workflow group to be created>"
}

var response = await client.WorkflowGroup.CreateWorkflowGroup(request);


// Get All Workflow groups
var response = await client.WorkflowGroup.GetWorkflowGroups();
```

## Repository Overview

Expand Down

0 comments on commit 690cf72

Please sign in to comment.