The Wordpress Component facilitates interaction with the Wordpress API.
To use this component, you need to authenticate against your WordPress site using Basic Authentication with an Application Password. Follow these steps to obtain the required credentials:
Log in to your WordPress Admin Dashboard.
Go to Users
→ Profile
(or your user account).
Scroll down to the Application Passwords
section.
Enter a name and click Add New Application Password
.
Copy the generated password immediately — you won’t see it again.
💡 Note: You must have at least WordPress 5.6 and HTTPS enabled. Application passwords only work for users with the edit_posts
capability.
Use the following fields to configure your credentials in the component:
https://example.com
.Retrieves all the created or updated objects within a given time range.
Emit individually
(by default) or Emit page
.None.
Fetch page
: An object with key results that has an array as its value.Emit Individually
: Each object fills the entire message.Deletes a single object using its ID.
Please Note: For the
User
object type, the force parameter is always set totrue
, as WordPress does not support trashing users — they must be permanently deleted.
A dynamically generated list of required fields based on the selected Object Type
.
ID of the deleted object.
Retrieves a single object using its ID.
A dynamically generated list of required fields based on the selected Object Type
.
Returns an object with the result of the lookup.
Lookups a set of objects based on a defined list of criteria. The results can be emitted in different ways.
Emit individually
(by default) or Emit page
.A dynamically generated list of available criteria.
For Emit All
mode: An object with the key results
, which contains an array as its value.
For Emit Individually
mode: Each object fills the entire message.
Allows for the execution of custom requests using the Wordpress API directly.
false
.https://your-site.com/wp-json
).This action updates an existing object or creates a new one, depending on the selected operation.
Update
or Create
.Fields are dynamically generated based on the selected Object Type
.
The result object from the create or update operation.
Click here to learn more about the elastic.io iPaaS