Skip to content

Add WordPress Integrationย #29

@adamfisher

Description

@adamfisher

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

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 guide.
  3. Submit a PR referencing this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions