elsa-workflows / elsa-workflows/elsa-extensions

Add WordPress Integration

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
49
Forks
48
Avg merge
21h 35m
Merged PRs (30d)
20

Description

This issue tracks the implementation of an integration for **WordPress** in Elsa Workflows. The module should allow workflows to interact with WordPress, supporting common content management operations.

## **Tasks**
- [ ] Create a new module: `Elsa.Integrations.WordPress`
- [ ] Implement **Workflow Activities**:
- [ ] **CreateCategory** - Creates a new category.
- [ ] **CreateComment** - Creates a new comment.
- [ ] **CreateMediaItem** - Uploads a media item (image, video, etc.).
- [ ] **CreatePost** - Creates a new post.
- [ ] **CreateTag** - Creates a new tag.
- [ ] **CreateUser** - Creates a new user.
- [ ] **DeleteCategory** - Deletes a category specified by its ID.
- [ ] **DeleteComment** - Deletes a comment specified by its ID.
- [ ] **DeleteMediaItem** - Deletes a media item specified by its ID.
- [ ] **DeletePost** - Deletes a post specified by its ID.
- [ ] **DeleteTag** - Deletes a tag specified by its ID.
- [ ] **DeleteUser** - Deletes a user specified by its ID.
- [ ] **GetCategory** - Retrieves information about a category by its ID.
- [ ] **GetComment** - Retrieves information about a comment by its ID.
- [ ] **GetMediaItem** - Retrieves information about a media item by its ID.
- [ ] **GetPost** - Retrieves information about a post by its ID.
- [ ] **GetTag** - Retrieves information about a tag by its ID.
- [ ] **GetUser** - Retrieves information about a user by its ID.
- [ ] **MakeAPICall** - Performs an arbitrary authorized API call to WordPress.
- [ ] **SearchCategories** - Searches for specific categories.
- [ ] **SearchComments** - Searches for specific comments.
- [ ] **SearchMediaItems** - Searches for specific media items.
- [ ] **SearchPosts** - Searches for specific posts.
- [ ] **SearchTags** - Searches for specific tags.
- [ ] **SearchTaxonomies** - Searches for specific taxonomies.
- [ ] **SearchUsers** - Searches for specific users.
- [ ] **UpdateCategory** - Updates a category specified by its ID.
- [ ] **UpdateComment** - Updates a comment specified by its ID.
- [ ] **UpdateMediaItem** - Updates a media item specified by its ID.
- [ ] **UpdatePost** - Updates a post specified by its ID.
- [ ] **UpdateTag** - Updates a tag specified by its ID.
- [ ] **UpdateUser** - Updates a user specified by its ID.
- [ ] **WatchCategories** - Triggers when a new category is added.
- [ ] **WatchComments** - Triggers when a new comment is added.
- [ ] **WatchMediaItems** - Triggers when a new media item is added.
- [ ] **WatchPosts** - Triggers when a new post is added.
- [ ] **WatchPostsUpdated** - Triggers when a post is updated.
- [ ] **WatchTags** - Triggers when a new tag is added.
- [ ] **WatchUsers** - Triggers when a new user is added.

- [ ] Add Unit Tests
- [ ] Add Documentation (`README.md`)

## **References**
- 📖 [WordPress REST API Docs](https://developer.wordpress.org/rest-api/)
- 🛠️ [WordPressPCL](https://www.nuget.org/packages/WordPressPCL)

## **Notes**
- This should follow the standard structure used for Elsa Integrations.
- The integration should support authentication via WordPress REST API.

## **Contributor Guidelines**
If you're interested in working on this issue:

1. Comment below to claim it.
2. Follow the [CONTRIBUTING.md](https://github.com/elsa-workflows/elsa-integrations/blob/main/CONTRIBUTING.md) guide.
3. Submit a PR referencing this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.