WordPress
WordPress is a popular open-source content management system (CMS) that allows users to create and manage websites easily. It offers customizable themes, plugins, and a user-friendly interface, making it ideal for blogs, business websites, and eCommerce stores. Powering over 40% of websites worldwide, WordPress is known for its flexibility, scalability, and SEO-friendly features.
How to Integrate WordPress with ZBrain Flow
Integrating WordPress with ZBrain Flow streamlines content publishing and website management by automating tasks such as post creation and updates. Follow these steps to set up the integration:
Open ZBrain Flow β Navigate to the ZBrain Flow platform.
Click the β+β Button β Initiate a new integration setup.
Search for WordPress β Type "WordPress" in the search bar and select it from the available options.
Choose an Action β Select the specific action you want to automate, such as creating, updating, or retrieving post details.
How to Connect WordPress to ZBrain Flow
To establish a connection between WordPress and ZBrain Flow, follow these steps:
1. Provide a Connection Name
Assign a recognizable name to identify the connection for future use.
2. Enter API Credentials
You will need to enter the following credentials to authenticate the connection:
Username
Login to WordPress Admin Dashboard: Visit
yourwebsite.com/wp-admin
.Navigate to Users: In the left-hand menu, go to the "Users" section.
Find Your Username: Your username will be listed in the user list. If multiple users exist, locate the correct one.
Password
Enter your existing WordPress password.
Reset Password (if needed):
Go to the login page and click βLost your password?β
Enter your username or email address.
Check your email for a password reset link and follow the instructions to create a new password.
Website URL
Check General Settings: In the WordPress admin dashboard, go to Settings > General.
Find Your URL: Your website URL is listed under "WordPress Address (URL)" and "Site Address (URL)".
3. Click Save
Once all details are entered, click βSaveβ to finalize and authenticate the connection.
Actions Available in WordPress Integration
Below are the available actions you can perform through this integration.
1. Create Post
Automate the process of publishing blog posts on WordPress. This action streamlines content creation by allowing users to define the post structure and metadata.
Steps to Create a Post:
Select an Existing Connection or Create a New One β Choose an already configured WordPress connection or establish a new one.
Enter the Post Title β Provide a title for the blog post.
Enter the Content β Input the main content of the post using the WordPress Text Editor, which supports HTML formatting.
Enter the Slug β Define a URL-friendly identifier for the post (e.g., "my-first-blog-post").
Enter the Publish Date β Specify the exact date and time the post should be published.
Enter the Featured Media URL β Provide the direct URL to an image or media file to be used as the postβs featured media.
Enter Tags β Add relevant tags to categorize the post.
Enter Custom ACF Fields β If using Advanced Custom Fields (ACF), input field names and values. ACF enhances post customization.
Select Categories β Assign the post to one or more WordPress categories.
Select the Featured Media (Image) β Choose an image to be displayed as the postβs thumbnail.
Select the Post Status β Choose from Published, Scheduled, Draft, Pending, Private, or Trash.
Add an Excerpt β Provide a short summary of the post.
Enable/Disable Additional Options:
Allow Comments β Toggle whether comments are allowed.
Open to Pinging β Enable or disable pingbacks and trackbacks.
2. Create Page
This action allows users to create new pages on their WordPress site, such as About Us, Contact, or Landing Pages.
Steps to Create a Page:
Select an Existing Connection or Create a New One β Choose an already configured WordPress connection or set up a new one.
Enter the Page Title β Provide a name for the new page.
Enter the Content β Add the page content using the WordPress Text Editor (supports HTML).
Enter the Slug β Define a user-friendly URL for the page.
Enter the Publish Date β Schedule when the page should be published.
Select the Page Status β Choose between Published, Scheduled, Draft, Pending, Private, or Trash.
Add an Excerpt β Include a brief summary of the page.
Enable/Disable Additional Options:
Allow Comments β Decide if visitors can leave comments on the page.
Open to Pinging β Enable or disable pingbacks and trackbacks.
3. Update Post
This action allows for modifying an existing WordPress post, ensuring content remains accurate and up to date.
Steps to Update a Post:
Select an Existing Connection or Create a New One β Use an existing WordPress connection or configure a new one.
Select the Post to be Updated β Choose the specific post that needs modifications.
Enter the Updated Title β Modify the postβs title if needed.
Enter the Updated Content β Update the postβs text, images, or other content elements.
Enter the Slug β Adjust the URL slug if necessary.
Enter the Updated Publish Date β Change the publishing date if required.
Enter the Featured Media URL β Provide a new featured media URL, if applicable.
Enter Updated Tags β Modify or add new tags for better categorization.
Enter Custom ACF Fields β Update ACF field values if applicable.
Select Updated Categories β Change or add new categories for the post.
Select the Featured Media (Image) β Update the featured image, if needed.
Select the Updated Status β Change the status to Published, Scheduled, Draft, Pending, Private, or Trash.
Add an Updated Excerpt β Modify the short description of the post.
Enable/Disable Additional Options:
Allow Comments β Toggle comment settings.
Open to Pinging β Enable or disable pingbacks and trackbacks.
4. Get Post Details
Retrieve specific details of a WordPress post, including its title, content, status, publish date, categories, tags, and more.
Steps to Get Post Details:
Select an Existing Connection or Create a New One β Use a previously set up WordPress connection or establish a new one.
Enter the Post ID β Provide the unique identifier of the post whose details you want to retrieve.
5. Custom API Call
For users who require advanced functionality beyond the predefined actions, custom API calls allow for direct interaction with the WordPress REST API.
Configuration Steps:
Select an Existing Connection or Create a New One β Choose an existing WordPress connection or set up a new one.
Select the HTTP Method β Choose the request type that aligns with your API action:
GET β Retrieve details of a post, page, category, or media file.
POST β Create a new post, page, or media file.
PATCH β Modify metadata or update specific fields in a post or page.
PUT β Replace an entire post or page with new content.
DELETE β Permanently remove a post, page, or media file.
HEAD β Fetch response headers without retrieving full content.
Add Headers β Define additional headers as required by the API request. Authorization headers are automatically injected. Click β+ Add Itemβ to include more headers.
Add Query Parameters β Customize API requests with specific filters or options. Click β+ Add Itemβ to add more parameters.
Enter JSON Body β Provide structured request data in JSON format.
Set Timeout (in Seconds) β Define the request timeout duration to prevent long-running API calls from delaying.
Note: Click 'f' to insert dynamic values for more flexible configurations.
Last updated