# Create WordPress Post
Source: https://docs.docswrite.com/api-reference/endpoint/create
POST /api/export
Create or update WordPress posts and pages from Google Docs
## Additional Information
### Best Practices
1. **Always share Google Docs** with "Anyone with the link"
2. **Test with drafts first** before publishing live content
3. **Use descriptive titles and slugs** for better SEO
4. **Include alt text for images** for accessibility
5. **Set appropriate categories and tags** to organize content
## Create WordPress Post
Create or update a blog post or page on your WordPress site from a Google Docs document.
```bash theme={null}
POST https://api.docswrite.com/api/export?token=YOUR_TOKEN
```
### Headers
| Header | Value |
| ------------ | ------------------ |
| Content-Type | `application/json` |
### Request Body
The request body should contain the Google Docs URL and any additional parameters to customize the post.
### Required Parameters
| Parameter | Type | Description |
| ----------------- | ------ | ----------------------------------------------------------------- |
| `google_docs_url` | string | URL of the Google Doc. **Must be shared with "anyone with link"** |
### Optional Parameters
| Parameter | Type | Default | Description |
| ------------------------- | ------ | ----------------- | -------------------------------------------- |
| `title` | string | Google Docs title | Post title |
| `slug` | string | Auto-generated | Custom URL slug |
| `tags` | string | - | Comma-separated list of tags |
| `categories` | string | - | Comma-separated list of categories |
| `state` | string | `draft` | Post status: `publish` or `draft` |
| `author` | string | API token creator | Author username or full name |
| `date` | string | Current time | Publish date in `YYYY-MM-DD HH:MM:SS` format |
| `excerpt` | string | - | Post excerpt for SEO |
| `post_type` | string | `post` | Type: `post` or `page` |
| `featured_image_url` | string | - | URL of featured image |
| `featured_image_alt_text` | string | - | Alt text for featured image |
| `featured_image_caption` | string | - | Caption for featured image |
### Export Settings
Control how your content is processed:
| Parameter | Type | Default | Description |
| ------------------------------------------------- | ------- | --------- | ----------------------------------------------- |
| `export_settings.compress_images` | boolean | `true` | Compress images before upload |
| `export_settings.demote_headings` | boolean | `false` | Demote headings by one level |
| `export_settings.convert_to_webp` | boolean | `true` | Convert images to WebP format |
| `export_settings.first_image_as_featured_image` | boolean | `true` | Set first image as featured image |
| `export_settings.add_no_follow_to_external_links` | boolean | `true` | Add `nofollow` to external links |
| `export_settings.bold_as_strong` | boolean | `false` | Convert bold text to `strong` tag |
| `export_settings.wp_content_editor` | string | `classic` | Content editor: `classic` or `gutenberg_editor` |
### SEO Plugin Settings
#### Yoast SEO Settings
| Parameter | Type | Description |
| -------------------------------- | ------ | ---------------- |
| `yoast_settings.yoast_focuskw` | string | Focus keyword |
| `yoast_settings.yoast_metadesc` | string | Meta description |
| `yoast_settings.yoast_title` | string | SEO title |
| `yoast_settings.yoast_canonical` | string | Canonical URL |
#### RankMath Settings
| Parameter | Type | Description |
| ------------------------------------------- | ------ | ------------- |
| `rankmath_settings.rank_math_focus_keyword` | string | Focus keyword |
#### Newspack Settings
| Parameter | Type | Description |
| -------------------------------------------------- | ------ | --------------- |
| `newspack_settings.newspack_article_summary` | string | Article summary |
| `newspack_settings.newspack_article_summary_title` | string | Summary title |
| `newspack_settings.newspack_post_subtitle` | string | Post subtitle |
### Advanced Custom Fields (ACF)
| Parameter | Type | Description |
| ---------------- | ------ | --------------------------------------------- |
| `acf_field_name` | string | Custom field value (supports URLs for images) |
## Example Requests
### Basic Request
```json theme={null}
{
"google_docs_url": "https://docs.google.com/document/d/1aBcDeFg/edit?usp=sharing",
"title": "My Blog Post",
"state": "publish",
"categories": "Technology, WordPress",
"tags": "automation, publishing"
}
```
### Complete Request with All Options
```json theme={null}
{
"google_docs_url": "https://docs.google.com/document/d/1aBcDeFgHiJkLmNopQrStUvWxYz/edit?usp=sharing",
"title": "Complete Example Blog Post",
"slug": "complete-example-blog-post",
"tags": "example, blog post, complete",
"categories": "Technology, Tutorials",
"state": "draft",
"author": "Jane Doe",
"date": "2024-04-01 09:00:00",
"excerpt": "This is a comprehensive example of all available parameters.",
"post_type": "post",
"featured_image_url": "https://images.unsplash.com/photo-1662572091420-95992f339784",
"featured_image_alt_text": "Complete Example Featured Image",
"featured_image_caption": "Example caption for the featured image",
"export_settings": {
"compress_images": true,
"demote_headings": false,
"convert_to_webp": true,
"first_image_as_featured_image": true,
"add_no_follow_to_external_links": true,
"bold_as_strong": false,
"wp_content_editor": "classic"
},
"newspack_settings": {
"newspack_article_summary": "This is an example article summary for Newspack themes.",
"newspack_article_summary_title": "Example Summary Title",
"newspack_post_subtitle": "Example Post Subtitle"
},
"yoast_settings": {
"yoast_focuskw": "example blog post",
"yoast_metadesc": "This is a comprehensive example meta description for SEO.",
"yoast_title": "Complete Example Blog Post | My Site"
},
"rankmath_settings": {
"rank_math_focus_keyword": "example blog post"
}
}
```
### Scheduled Post Request
```json theme={null}
{
"google_docs_url": "https://docs.google.com/document/d/1aBcDeFg/edit",
"title": "Scheduled Blog Post",
"state": "publish",
"date": "2024-12-25 10:00:00",
"categories": "Holiday, Special"
}
```
## Response Examples
### Success Response (200 OK)
```json theme={null}
{
"error": false,
"message": "Post added to queue",
"data": {
"google_docs_url": "https://docs.google.com/document/d/1aBcDeFg/edit",
"title": "My Blog Post",
"jobId": "job-abc123"
}
}
```
### Error Responses
**Bad Request (400)**
```json theme={null}
{
"error": true,
"message": "Invalid Google Docs URL",
"details": "The provided URL is not accessible or not shared properly"
}
```
**Unauthorized (401)**
```json theme={null}
{
"error": true,
"message": "Invalid API token",
"details": "Please check your API token and try again"
}
```
**Rate Limited (429)**
```json theme={null}
{
"error": true,
"message": "Rate limit exceeded",
"details": "You've exceeded the rate limit. Please wait before making more requests."
}
```
## cURL Examples
### Basic cURL Request
```bash theme={null}
curl -X POST 'https://api.docswrite.com/api/export?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"google_docs_url": "https://docs.google.com/document/d/1aBcDeFg/edit",
"title": "My Blog Post",
"state": "publish",
"categories": "Technology, WordPress",
"tags": "automation, publishing"
}'
```
### Advanced cURL Request with SEO
```bash theme={null}
curl -X POST 'https://api.docswrite.com/api/export?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"google_docs_url": "https://docs.google.com/document/d/1aBcDeFg/edit",
"title": "SEO Optimized Post",
"state": "publish",
"yoast_settings": {
"yoast_focuskw": "SEO optimization",
"yoast_metadesc": "Learn how to optimize your content for search engines"
},
"export_settings": {
"compress_images": true,
"convert_to_webp": true
}
}'
```
# Job Status
Source: https://docs.docswrite.com/api-reference/endpoint/get
POST /api/job/status
Track the status of your Docswrite publishing jobs
## Additional Information
### Usage Examples
#### Polling for Completion
```javascript theme={null}
async function waitForJobCompletion(jobId, token) {
while (true) {
const response = await fetch("https://api.docswrite.com/api/job/status", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-access-token": token,
},
body: JSON.stringify({
jobId: jobId,
queueType: "post",
}),
});
const data = await response.json();
if (data.success && data.data.state === "completed") {
console.log("Job completed successfully!");
break;
} else if (data.success && data.data.state === "failed") {
console.error("Job failed:", data.data.failedReason);
break;
}
// Wait 5 seconds before checking again
await new Promise((resolve) => setTimeout(resolve, 5000));
}
}
```
#### Progress Tracking
```javascript theme={null}
function trackProgress(jobId, token) {
const interval = setInterval(async () => {
const response = await fetch("https://api.docswrite.com/api/job/status", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-access-token": token,
},
body: JSON.stringify({ jobId, queueType: "post" }),
});
const data = await response.json();
if (data.success) {
console.log(`Progress: ${data.data.progress}%`);
if (data.data.state === "completed" || data.data.state === "failed") {
clearInterval(interval);
}
}
}, 2000);
}
```
You can only check the status of jobs that you created. The API will return a
403 error if you try to check someone else's job.
## Get Job Status
Check the status of a publishing job using the job ID returned when creating a post.
```bash theme={null}
POST https://api.docswrite.com/api/job/status
```
### Headers
| Header | Value |
| -------------- | ------------------ |
| Content-Type | `application/json` |
| x-access-token | `YOUR_JWT_TOKEN` |
### Request Body
```json theme={null}
{
"jobId": "job-123",
"queueType": "post"
}
```
### Parameters
| Parameter | Type | Required | Description |
| ----------- | ------ | -------- | ---------------------------------------- |
| `jobId` | string | Yes | The job ID returned when creating a post |
| `queueType` | string | No | Queue type, defaults to "post" |
### Response
**Success Response (200 OK)**
```json theme={null}
{
"success": true,
"data": {
"id": "job-123",
"state": "completed",
"progress": 100,
"returnValue": {},
"failedReason": null,
"timestamp": 1234567890,
"processedOn": 1234567890,
"finishedOn": 1234567890
}
}
```
### Job States
| State | Description |
| ----------- | ------------------------------------------- |
| `waiting` | Job is in the queue waiting to be processed |
| `active` | Job is currently being processed |
| `completed` | Job finished successfully |
| `failed` | Job failed with an error |
| `delayed` | Job is scheduled to run later |
### Response Fields
| Field | Type | Description |
| -------------- | ------ | --------------------------- |
| `id` | string | The job ID |
| `state` | string | Current state of the job |
| `progress` | number | Progress percentage (0-100) |
| `returnValue` | object | Result data when completed |
| `failedReason` | string | Error message if job failed |
| `timestamp` | number | Job creation timestamp |
| `processedOn` | number | When job processing started |
| `finishedOn` | number | When job finished |
### cURL Example
```bash theme={null}
curl -X POST 'https://api.docswrite.com/api/job/status' \
-H 'Content-Type: application/json' \
-H 'x-access-token: YOUR_JWT_TOKEN' \
-d '{
"jobId": "job-123",
"queueType": "post"
}'
```
### Error Responses
**Unauthorized (401)**
```json theme={null}
{
"error": true,
"message": "Unauthorized",
"details": "Invalid or missing access token"
}
```
**Forbidden (403)**
```json theme={null}
{
"error": true,
"message": "Access denied",
"details": "You can only check the status of jobs that you created"
}
```
**Not Found (404)**
```json theme={null}
{
"error": true,
"message": "Job not found",
"details": "No job found with the provided ID"
}
```
# API Introduction
Source: https://docs.docswrite.com/api-reference/introduction
Use the Docswrite REST API to programmatically create and update WordPress posts from Google Docs
## Introduction
You can make a `POST` request to the Docswrite API endpoint to create or update blog posts and pages on your WordPress site directly from Google Docs.
You can configure most parameters either in the API request body or directly in the Google Docs document itself.
## How It Works
1. **Create a settings table** in your Google Docs document (optional but recommended)
2. **Share your Google Doc** with "Anyone with the link"
3. **Make a POST request** to your personal Docswrite endpoint
4. **Track the job status** using the returned job ID
First, you need to connect your WordPress site to Docswrite. Once connected,
you'll get a personal API endpoint for making requests.
## Setting Up Parameters in Google Docs
You can include publishing parameters directly in your Google Docs:
* Create a table in the Google Docs document. It should be **the first table** in the document.
* The table should have **two columns**. The first column should contain the parameter name and the second column should contain the parameter value.
* **The column name should be `docswrite_settings`**. Otherwise, we won't be able to read the table.
For example, you can add a `title` parameter in the Google Docs document itself and it will be used as the title of the blog post.
[Link to the Google Docs](https://docs.google.com/document/d/1xoQOTl945fGRm_5YrRalZUEa_9U5q8y3r0pploi_360/edit?usp=sharing)
## Getting Your API Endpoint
1. Login to your [Docswrite account](https://docswrite.com/accounts/signin) and go to the settings page.
2. Grab the endpoint URL from the Docswrite settings page. It will look something like this:
```
https://api.docswrite.com/api/export?token=xxx
```
## Authentication
Authentication is handled through your personal API token included in the endpoint URL. No additional headers are required for basic API calls.
For job status tracking, you'll need to include your JWT token in the request headers:
```
x-access-token: YOUR_JWT_TOKEN
```
## Rate Limits
The Docswrite API implements reasonable rate limits to ensure service quality:
* **100 requests per minute** for content creation
* **500 requests per minute** for status checking
* **Burst allowance** of up to 200 requests
If you exceed these limits, you'll receive a `429 Too Many Requests` response.
## Error Handling
The API returns standard HTTP status codes:
* `200 OK` - Request successful
* `400 Bad Request` - Invalid parameters or missing required fields
* `401 Unauthorized` - Invalid or missing authentication
* `403 Forbidden` - Access denied to resource
* `404 Not Found` - Resource not found
* `429 Too Many Requests` - Rate limit exceeded
* `500 Internal Server Error` - Server error
## Job Status Tracking
When you create a post using the API, you'll receive a `jobId` in the response that you can use to track the publishing progress.
### Example Response with Job ID
```json theme={null}
{
"error": false,
"message": "Post added to queue",
"data": {
"google_docs_url": "https://docs.google.com/document/d/1aBcDeFg/edit",
"title": "Example Blog Post Title",
"jobId": "job-123"
}
}
```
### Job States
| State | Description |
| ----------- | ------------------------------------------- |
| `waiting` | Job is in the queue waiting to be processed |
| `active` | Job is currently being processed |
| `completed` | Job finished successfully |
| `failed` | Job failed with an error |
| `delayed` | Job is scheduled to run later |
## Complete API Example
Here's a complete example of creating a post and tracking its status:
```bash theme={null}
# 1. Create a post
curl -X POST 'https://api.docswrite.com/api/export?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"google_docs_url": "https://docs.google.com/document/d/1aBcDeFg/edit",
"title": "My Blog Post",
"state": "publish"
}'
# Response:
# {
# "error": false,
# "message": "Post added to queue",
# "data": {
# "jobId": "job-123"
# }
# }
# 2. Check job status
curl -X POST 'https://api.docswrite.com/api/job/status' \
-H 'Content-Type: application/json' \
-H 'x-access-token: YOUR_JWT_TOKEN' \
-d '{
"jobId": "job-123",
"queueType": "post"
}'
```
## Next Steps
Learn how to create new WordPress posts
Track the status of your publishing jobs
Complete list of supported parameters
Coming soon: Official SDKs for popular languages
# Workspace & Account Management
Source: https://docs.docswrite.com/essentials/account-management
Manage your Docswrite workspace, add teammates, set roles, and update organization details.
## Add Teammates
Invite your team members to collaborate on your Docswrite workspace.
Once you add a teammate, they will be able to access the sites in this organization. Ask them to log in with their email address.
You will need to add your teammate's email address, the role (admin or collaborator)
***
## Organization Details
You can update your organization details at any time.
**Organization Name**
*This is the name that will be displayed on your invoices. You can change it as needed.*
**Billing Address**
*This is the address we will use for billing. You may update it if your billing information changes.*
# Security & Privacy
Source: https://docs.docswrite.com/essentials/security
Learn about Docswrite's comprehensive security measures, data protection, and privacy safeguards
## Our Commitment to Security
At Docswrite, security and privacy are fundamental to everything we do. We understand that your content, authentication credentials, and publishing workflows contain sensitive information that requires the highest level of protection. Our comprehensive security framework ensures your data remains safe, private, and under your control.
## Authentication & Access Control
### Multi-Layered Authentication
Docswrite implements robust authentication mechanisms to protect your accounts and data:
* **OAuth 2.0 Integration**: Secure integration through Docswrite using industry-standard OAuth 2.0 protocols
* **JWT Token Security**: JSON Web Tokens with secure signing algorithms
* **Application Passwords**: WordPress Application Passwords (WordPress 5.6+) for secure, plugin-independent access
### Access Control & Permissions
We follow the principle of least privilege across all our integrations:
**WordPress Connections**
* **Minimal Permissions**: Only requests permissions necessary for publishing (posts, media, categories/tags)
* **Revocable Access**: You can revoke Docswrite's access anytime from your WordPress admin panel
**Google Drive Integration**
* **Document-Specific Access**: Only accesses Google Docs you explicitly share or authorize
* **Read-Only Operations**: Cannot modify your current original Google Docs but only create new Google Docs or create Google Drive files
* **Selective Permissions**: No access to private documents or other Google services beyond what's needed
**Contentful Integration**
* **API Key Security**: Uses secure Contentful Management API tokens with restricted permissions
* **Space-Specific Access**: Limited to only the Contentful spaces you authorize
* **Content Type Restrictions**: Only operates on content types you specify
## Data Protection & Privacy
### Data Handling Principles
**Data Minimization**
* We only collect and process data necessary for publishing your content
* No unnecessary tracking or data harvesting
**Data Encryption**
* **In Transit**: All data transfers use TLS 1.3 encryption
* **API Communications**: End-to-end encrypted API calls
### Privacy Safeguards
**Google Docs Privacy**
* **Shared Link Requirement**: Only processes documents with "Anyone with the link" sharing enabled
**WordPress Site Security**
* **Secure Connections**: All WordPress communications over HTTPS
* **User Permission Validation**: Verifies your WordPress user permissions before any operations
* **Media Security**: Images and files uploaded securely through WordPress REST API
## 🏗️ Infrastructure Security
### Cloud Security
**Hosting & Infrastructure**
* **Enterprise-Grade Cloud**: Hosted on SOC 2 Type II compliant infrastructure within Digital Ocean
* **Global CDN**: Content delivered through secure, global content delivery networks using Cloudflare
* **DDoS Protection**: Advanced distributed denial-of-service attack protection using Cloudflare
Security is an ongoing process. We continuously update our security measures
and will keep this documentation current. For the latest security information
or to report security concerns, contact us at [security@docswrite.com](mailto:security@docswrite.com).
## Need Help?
Report security vulnerabilities or concerns to our security team
Read our complete privacy policy and data handling practices
Get help with security questions or account issues
# About
Source: https://docs.docswrite.com/index
Export your Google Docs to your Content Management System such as WordPress and Contentful, etc. in a single click
## What is Docswrite?
Docswrite is a publishing automation tool that helps content teams seamlessly export content from Google Docs directly into their Content Management System (CMS) like WordPress, Contentful, and others.
Instead of wasting time copying, pasting, and reformatting blog posts or pages, Docswrite ensures your content is published exactly as written, with proper formatting, images, metadata, and SEO tags intact.
With Docswrite, you can:
* Export Google Docs to WordPress (including bulk export) – publish your content instantly, without copy-paste or formatting issues. Fully support ACF, Newspack, RankMath and YoastSEO
* Export Google Docs to Contentful (including bulk export) - publish your content instantly, without copy-paste or formatting issues
* Use Docswrite through your content workflow - use Trello, ClickUp and more using our Zapier integration
* Programmatic SEO (PSEO) – generate thousands of SEO-optimized pages in one click
* Export WordPress to Google Docs (including bulk export) – easily sync and collaborate on existing posts with your team
## Quick Start
Connect your WordPress site directly using the WordPress API for secure,
plugin-free publishing.
Use the Docswrite WordPress plugin to connect your site and enable advanced
publishing features.
}
href="/connect/contentful"
>
Connect your Contenful site directly plugin-free publishing.
}
href="/guides/zapier-flow"
>
Automate your publishing workflow by connecting Docswrite to Trello, ClickUp, and more using Zapier.
# API
Source: https://docs.docswrite.com/integrations/contentful/api/index
How to connect and publish to Contentful
# Contentful API Integration
Docswrite allows you to publish Google Docs directly to your Contentful space using Contentful's APIs. This guide explains how to connect your Contentful account and use the API for seamless publishing.
## What Credentials Do You Need?
To connect Docswrite to your Contentful space, you'll need the following credentials:
* **Space ID:**\
This identifies your Contentful space. You can find it in Contentful under *Settings → General Settings*.
* **Content Delivery API Access Token:**\
This token allows Docswrite to read published content from your space. Generate it in *Settings → API keys* in Contentful.
* **Content Management API (CMA) Token:**\
This token allows Docswrite to create and update content in your space. Generate it in *Settings → CMA Tokens* in Contentful.
> 📝 *Docswrite provides tooltips and help links for each field if you’re unsure where to find them.*
***
## How to Connect Contentful to Docswrite
1. **Go to the [Docswrite Dashboard](https://docswrite.com/dashboard).**\
(Note: To connect multiple sites, you’ll need to be on the Business plan.)
2. **Add a new site and choose Contentful** as the platform.
3. **Enter the required Contentful credentials:**
* **Space ID:**\
Find this in Contentful under *Settings → General Settings*. Copy and paste it into Docswrite.
* **Content Delivery API Access Token:**\
Go to *Settings → API keys* in Contentful, generate a new API key, and copy the Content Delivery API token.
* **Content Management API (CMA) Token:**\
In Contentful, go to *Settings → CMA Tokens*, then create a new Management Token (CMA token) and copy it.
4. **Connect!**\
Once you’ve entered all the info, click to connect. If everything is correct, your Contentful site will be linked to Docswrite.
# Advanced Custom Fields (ACF) Support
Source: https://docs.docswrite.com/integrations/wordpress/acf
How to export and map Google Docs content to WordPress Advanced Custom Fields (ACF) using Docswrite.
# Google Docs to WordPress ACF: Effortless Field Mapping
Docswrite makes it easy to export your Google Docs content directly into [Advanced Custom Fields (ACF)](https://www.advancedcustomfields.com/) on your WordPress site, streamlining structured publishing and eliminating manual data entry.
## How Docswrite’s ACF Integration Works
When you export a Google Doc, Docswrite automatically detects your ACF field groups and lets you map content from your document to each custom field. This allows you to:
* Populate any custom post type and ACF field (text, image, repeater, etc.)
* Automate structured content workflows
* Avoid tedious copy-paste into WordPress
Learn more about the integration on the [Docswrite ACF product page](https://docswrite.com/product/acf).
## Step 1: Prepare ACF on Your WordPress Site
1. Install and activate the [Advanced Custom Fields plugin](https://wordpress.org/plugins/advanced-custom-fields/).
2. Create your custom fields and assign them to the relevant post type(s).
## Step 2: Connect Your WordPress Site to Docswrite
Connect your site to Docswrite using the [WordPress API or plugin integration](/integrations/wordpress/api).
## Step 3: Map Google Doc Content to ACF Fields
# API
Source: https://docs.docswrite.com/integrations/wordpress/api/index
How to connect and publish to WordPress using the Docswrite API.
# WordPress API Integration
Docswrite allows you to publish Google Docs directly to your WordPress site using the WordPress API. This guide explains how to connect your WordPress site and use the API for seamless publishing.
## What is an Application Password?
When connecting Docswrite to your WordPress site via the API, you'll use a WordPress feature called an **Application Password**. An Application Password is a secure, site-specific password you generate in your WordPress admin dashboard. It allows external applications (like Docswrite) to access your site without sharing your main WordPress login credentials.
**Advantages of Application Passwords:**
* **Security:** You never have to share your main WordPress password. If needed, you can revoke an application password at any time without affecting your main account.
* **Granular Control:** Each application gets its own password, so you can manage and monitor access for different tools separately.
* **Easy Revocation:** If you no longer want Docswrite (or any app) to access your site, simply delete the corresponding application password in your WordPress dashboard.
Using an Application Password is the recommended and most secure way to connect Docswrite to your WordPress site via the API.
## How to Generate an Application Password in WordPress
To connect Docswrite (or any external app) to your WordPress site via the API, you need to generate an **Application Password**. Here’s how:
1. **Log in to your WordPress Admin Dashboard.**
2. In the left sidebar, go to **Users > Profile** (or **Your Profile**).
3. Scroll down to the **Application Passwords** section.
4. In the **New Application Password Name** field, enter a name like `Docswrite` (this helps you remember what the password is for).
5. Click **Add New Application Password**.
6. WordPress will generate a new password. \*\*Copy this password and save it somewhere safe \*\*you won’t be able to see it again!
7. Use this password (along with your WordPress username) when connecting your site to Docswrite.
> **Note:** If you don’t see the Application Passwords section, make sure you are using WordPress 5.6 or later and that your account has the necessary permissions (usually Administrator).
**For more details, see the [official WordPress documentation](https://wordpress.com/support/security/two-step-authentication/application-specific-passwords/).**
***
## Automatic - Connecting Your WordPress Site
1. **Go to the [Docswrite Dashboard](https://docswrite.com/dashboard).**
2. Click **Connect Site** and select **WordPress**.
3. Choose **WordPress API** as your connection method.
4. Enter your WordPress site URL without the wp-admin
5. You will be redirected to your site WordPress Admin
6. Authorize Docswrite to access your WordPress site.
7. You will be redirected back to Docswrite dashboard
##
***
## Manual Connection
1. **Go to the [Docswrite Dashboard](https://docswrite.com/dashboard).**
2. Click **Connect Site** and select **WordPress**.
3. Choose **WordPress Manual Setup** as your connection method.
4. Enter your WordPress site URL without the wp-admin, your WordPress admin and
your WordPress application password
5. Click on Continue
# Newspack Support
Source: https://docs.docswrite.com/integrations/wordpress/newspack
How to export and map Google Docs content to WordPress Newspack fields using Docswrite.
# Export Google Docs to WordPress Newspack Fields
Docswrite supports exporting your Google Docs content directly to WordPress [Newspack](https://newspack.blog/) fields, making it easy to publish and optimize your articles for digital newsrooms right from your document.
## How Newspack Integration Works
When exporting a Google Doc, Docswrite detects your Newspack fields and allows you to map content from your document to those fields. This enables you to:
* Set headline, excerpt, and byline directly from your Google Doc
* Populate Newspack-specific fields such as "Article Subtitle" or "Featured Image"
* Automate structured content population for every post
* Eliminate manual copy-paste into Newspack fields in WordPress
## Step 1: Set Up Newspack on Your WordPress Site
1. Install and activate the [Newspack plugin](https://wordpress.org/plugins/newspack-plugin/).
2. Configure your newsroom and article settings in the Newspack dashboard.
## Step 2: Connect Your WordPress Site to Docswrite
Follow the [WordPress integration guide](/integrations/wordpress/api) to connect your site via API or plugin.
## Step 3: Map Google Doc Content to Newspack Fields
1. In the Docswrite dashboard, select your Google Doc(s) to export.
2. In the export settings, you'll see a section for **Newspack** fields.
3. Docswrite will automatically fetch the available Newspack fields for your post type.
4. Map each Newspack field to a section or property from your Google Doc, such as:
* **Headline**: Map to your document title or a custom heading.
* **Excerpt**: Map to a summary or custom paragraph.
* **Byline**: Map to an author field or text in your doc.
* **Article Subtitle**: Map to a subheading or custom field.
* **Featured Image**: Map to an image in your doc.
## Step 4: Publish!
Click **Publish to WordPress**. Docswrite will create a new post (or update an existing one) and populate all mapped Newspack fields automatically.
# WordPress Plugin
Source: https://docs.docswrite.com/integrations/wordpress/plugin/index
How to connect and publish to WordPress using the Docswrite Plugin.
# Docswrite WordPress Plugin
Docswrite is a powerful tool for editorial and content teams. It automates and optimizes content publication, making it easier for teams to manage and publish content consistently. Whether you're editing blog posts, articles, or any other type of content, Docswrite AI integrates seamlessly with your WordPress site to enhance your content management workflow.
This plugin allows you to connect your WordPress website to Docswrite, a platform offering seamless content transformation from Google Docs to WordPress. With this integration, website owners can save hundreds of hours per month by simplifying the content deployment process.
The Docswrite WordPress Plugin also allows users to modify Yoast and Rankmath SEO settings for their posts and pages.
***
## Features
* **Content Workflow Management:** Create and manage content workflows with collaborative features, allowing multiple users to work together efficiently.
* **Bulk Publish:** Import multiple documents at once for efficient content management.
* **Programmatic SEO:** Create and optimize a large number of unique, high-quality web pages at scale.
* **AI-Powered Content Generation Automation:** Generate and publish automatically high-quality, SEO-optimized content, ensuring your posts are optimized for search engines without extra effort.
* **Enhanced Security:** Protect your content with advanced security features and user management controls by securely keeping your website ID.
***
## Installation
Install Docswrite from the [WordPress plugin directory](https://wordpress.org/plugins/docswrite/).
1. If you cannot find Docswrite, download the plugin files from [https://wordpress.org/plugins/docswrite/](https://wordpress.org/plugins/docswrite/).
2. Go to your website's WordPress management dashboard, click on **Plugins** and then **Add New Plugin**.
3. Drag the Docswrite compressed plugin file into the uploader and click on **Install**.
4. Activate the plugin from the Plugins menu in your WordPress admin panel.
5. Make sure you have an account with Docswrite.
***
## How Does it Work?
After Docswrite is activated, click on **Connect** and you will be redirected to Docswrite.
* If you have an account with Docswrite, your website will be automatically registered. If not, you will be redirected to the signup page.
* Once connected, go to the Docswrite dashboard and start your publishing journey.
Happy publishing!
***
## How it Works
1. After installation and activation of the plugin, you will see a screen with your Website ID. This represents a secret that will be used to connect with Docswrite.
2. After clicking on **Connect**, you will be redirected to Docswrite (you need to be logged in).
3. If you don't have an account with Docswrite, you will be redirected to the sign up page.
4. Your site will be added to the Docswrite dashboard.
5. You are successfully connected.
6. Now, you can publish content using Docswrite ✨
# Rank Math SEO Support
Source: https://docs.docswrite.com/integrations/wordpress/rankmath
How to export and map Google Docs content to WordPress Rank Math SEO fields using Docswrite.
# Google Docs to WordPress Rank Math: Effortless Field Mapping
Docswrite makes it easy to export your Google Docs content directly into [Rank Math SEO](https://rankmath.com/) fields on your WordPress site, streamlining SEO optimization and eliminating manual data entry.
## How Docswrite’s Rank Math Integration Works
When you export a Google Doc, Docswrite automatically detects your Rank Math SEO fields and lets you map content from your document to each SEO field. This allows you to:
* Populate SEO title, meta description, and focus keyword fields
* Automate SEO metadata for every post
* Avoid tedious copy-paste into WordPress Rank Math fields
## Step 1: Prepare Rank Math on Your WordPress Site
1. Install and activate the [Rank Math SEO plugin](https://wordpress.org/plugins/seo-by-rank-math/).
2. Create or configure your SEO fields in the Rank Math dashboard.
## Step 2: Connect Your WordPress Site to Docswrite
Connect your site to Docswrite using the [WordPress API or plugin integration](/integrations/wordpress/api).
## Step 3: Map Google Doc Content to Rank Math SEO Fields
1. In the Docswrite dashboard, select your Google Doc(s) to export.
2. In the export settings, you'll see a section for **Rank Math SEO** fields.
3. Docswrite will automatically fetch the available Rank Math SEO fields for your post type.
4. Map each Rank Math SEO field to a section or property from your Google Doc, such as:
* **SEO Title**: Map to your document title or a custom heading.
* **Meta Description**: Map to a summary or custom paragraph.
* **Focus Keyword**: Map to a keyword or phrase in your doc.
## Step 4: Publish!
Click **Publish to WordPress**. Docswrite will create a new post (or update an existing one) and populate all mapped Rank Math SEO fields automatically.
# Yoast SEO Support
Source: https://docs.docswrite.com/integrations/wordpress/yoastseo
How to export and map Google Docs content to WordPress Yoast SEO fields using Docswrite.
# Export Google Docs to WordPress Yoast SEO Fields
Docswrite supports exporting your Google Docs content directly to WordPress [Yoast SEO](https://yoast.com/seo-blog/) fields, making it easy to optimize your posts for search engines right from your document.
## How Yoast SEO Integration Works
When exporting a Google Doc, Docswrite detects your Yoast SEO fields and allows you to map content from your document to those fields. This enables you to:
* Set SEO title, meta description, and focus keyword directly from your Google Doc
* Automate SEO metadata population for every post
* Eliminate manual copy-paste into Yoast SEO fields in WordPress
## Step 1: Set Up Yoast SEO on Your WordPress Site
1. Install and activate the [Yoast SEO plugin](https://wordpress.org/plugins/wordpress-seo/).
2. Configure your basic SEO settings in the Yoast SEO dashboard.
## Step 2: Connect Your WordPress Site to Docswrite
Follow the [WordPress integration guide](/integrations/wordpress/api) to connect your site via API or plugin.
## Step 3: Map Google Doc Content to Yoast SEO Fields
1. In the Docswrite dashboard, select your Google Doc(s) to export.
2. In the export settings, you'll see a section for **Yoast SEO** fields.
3. Docswrite will automatically fetch the available Yoast SEO fields for your post type.
4. Map each Yoast SEO field to a section or property from your Google Doc, such as:
* **SEO Title**: Map to your document title or a custom heading.
* **Meta Description**: Map to a summary or custom paragraph.
* **Focus Keyword**: Map to a keyword or phrase in your doc.
## Step 4: Publish!
Click **Publish to WordPress**. Docswrite will create a new post (or update an existing one) and populate all mapped Yoast SEO fields automatically.
# Zapier Integration
Source: https://docs.docswrite.com/integrations/zapier/index
How to connect and publish to Zapier
# Zapier API Integration
Docswrite allows you to automate publishing from Google Docs to platforms like WordPress using Zapier. This guide explains how to connect your Docswrite account to Zapier and set up automated publishing workflows.
## What Credentials Do You Need?
To connect Docswrite to Zapier, you'll need the following:
* **Docswrite Authentication Token:**\
This token authorizes Zapier to access your Docswrite account and perform publishing actions. You can generate it from your Docswrite dashboard.
***
## How to Connect Docswrite to Zapier
1. **Go to the [Docswrite Dashboard](https://docswrite.com/dashboard).**\
Log in to your Docswrite account.
2. **Generate Your Authentication Token:**
* Navigate to your site's dashboard.
* Click on the settings icon for the site you want to connect.
* In the Settings tab, click on **Get Auth Token**.
* Copy the generated token and keep it safe.
3. **Set Up Your Zap in Zapier:**
* Log in to [Zapier](https://zapier.com).
* Create a new Zap and choose your trigger app (e.g., Trello, Google Sheets, etc.).
* For the action, search for and select **Docswrite**.
* When prompted, paste your **Docswrite Authentication Token** to connect your account.
4. **Configure Your Zap:**
* Set up the action event (e.g., "Export Content from Google Docs to WordPress").
* Map the required fields, such as the public Google Docs link and any custom fields you want to use.
* Test your Zap to ensure everything works as expected.
> 📝 *If you need more details on setting up a Zapier workflow with Docswrite, see the [Trello to WordPress use case](/use-cases/trello-to-wordpress).*
***
Once your Zap is set up, Docswrite will automatically publish your Google Docs content whenever your chosen trigger occurs in Zapier!
# Support
Source: https://docs.docswrite.com/support
Get help with Docswrite - contact our support team or find answers to common questions
## Get Support
Need help with Docswrite? We're here to assist you! Choose the best option below based on your needs.
## Contact Options
### Email Support
For technical issues, billing questions, or general inquiries:
**đź“§ Email**: [support@docswrite.com](mailto:support@docswrite.com)
**Response Time**: We typically respond within 24 hours during business days.
### Live Chat
For immediate assistance with urgent issues:
**đź’¬ Live Chat**: Available on our [website](https://docswrite.com) during business hours (9 AM - 5 PM EST, Monday - Friday)
# AI Writer
Source: https://docs.docswrite.com/use-cases/ai-writer
How to use Docswrite's AI Writer to generate and publish content directly to WordPress.
# AI Writer: Generate & Publish Content to WordPress
Docswrite's AI Writer lets you create high-quality blog posts and pages using AI, then publish them directly to your WordPress site—no copy-paste or formatting headaches.
## Step 1: Access the AI Hub
1. Go to the [Docswrite Dashboard](https://docswrite.com/dashboard).
2. Click on **AI Hub** in the sidebar.
## Step 2: Generate Your Content
1. Enter your topic, keywords, or a prompt for the AI Writer.
2. Click **Start Writing**. The AI will draft your article in the editor.
## Step 3: Export to WordPress
1. Click **Export**
2. Select your connected WordPress site.
3. Configure export options:
* Post type (post or page)
* Categories and tags
* SEO fields (Yoast, RankMath, etc.)
* Featured image and excerpt
4. Confirm and publish.
Docswrite will automatically convert your AI-generated content into a WordPress post or page, preserving formatting, images, and metadata.
# ClickUp to WordPress
Source: https://docs.docswrite.com/use-cases/clickup-to-wordpress
How to automate publishing from Google Docs to WordPress using ClickUp, Zapier, and Docswrite.
# How to Publish from Google Docs to WordPress using ClickUp
Integrating ClickUp with Zapier and Docswrite allows you to automate your content workflow, making it easy to move content from Google Docs to publishing in WordPress, all triggered by your ClickUp tasks.
## What You’ll Need
* A ClickUp account
* A Zapier account
* A Docswrite account
* A WordPress site
***
## Step 1: Generate Your Docswrite Authentication Token
To connect Docswrite with Zapier, you'll need an authentication token. Follow these steps:
1. **Open the Docswrite Dashboard:** Log in to your Docswrite account and navigate to your site's dashboard.
2. **Access Settings:** Click on the settings icon of the site you want to manage.
3. **Generate Auth Token:** In the Settings tab, click on **Get Auth Token**.
4. **Copy and Save Your Token:** Once the token is generated, copy it and keep it somewhere safe. You’ll need this token to connect Docswrite to Zapier.
***
## Step 2: Make Your Google Doc Publicly Accessible
Before Docswrite can access your Google Doc, you need to ensure the document is publicly viewable. Here’s how:
1. **Open your Google Doc.**
2. Click on ***File* → *Share* → *Share with others***.
3. In the sharing settings, set the document so that **"Anyone with the link can view"**.
> 💡 *If your document isn’t public, Docswrite won’t be able to fetch its content!*
4. Copy the shareable link and save it for the next step to put it in your ClickUp task’s custom field.
***
## Step 3: Set Up Your ClickUp Workspace
1. **Create a ClickUp Space or List:** Organize your content workflow in ClickUp.
2. **Add Tasks:** Create a task for each piece of content you plan to publish. Include details like the title, tags, or categories.
3. **Add Custom Fields:**
* **Google Docs Link:** Add a custom field named "Google Docs"—this is where you’ll paste the public link to your Google Doc.
* **Content Editor:** Add a custom field named "Content Editor" and set its value to either `gutenberg_editor` or `classic_editor` depending on your preferred WordPress editor.
* **Author:** Add a custom field named "Author" with your author name.
* If there are any other custom fields that you wish to control, just specify them in the custom fields.
***
## Step 4: Create a Zap in Zapier
1. **Log in to Zapier:** Go to Zapier and log in or create an account.
2. **Create a New Zap:** Click on the "Make a Zap" button.
***
## Step 5: Set Up the ClickUp Trigger
1. **Choose ClickUp as the Trigger App:** Search for and select ClickUp.
2. **Select the Trigger Event:** Choose "Task Status Changed" (or another event that fits your workflow, such as "Task Moved to List").
3. **Connect Your ClickUp Account:** Authorize Zapier to access your ClickUp account.
4. **Set Up Trigger Options:** Select the workspace, space, folder, and list that will trigger the Zap. Click "Continue" and test the trigger to ensure it works.
***
## Step 6: Set Up Docswrite to Publish
1. **Choose Docswrite as the Action App:** Search for and select Docswrite.
2. **Select the Action Event:** Choose "Export Content from Google Docs to WordPress."
3. **Connect Your Docswrite Account:**
* Authorize Zapier to access your Docswrite Dashboard.
* Paste the **Authentication Token** from step 1.
***
## Step 7: Test Your Zap
* **Test the Zap:** Run a test to ensure that updating a task in ClickUp creates a post in WordPress.
* **Check Your WordPress Site:** Visit your site to confirm the post has been published successfully.
# Google Docs to WordPress
Source: https://docs.docswrite.com/use-cases/google-doc-wordpress
How to export and publish your Google Docs directly to WordPress using Docswrite.
# Publish Google Docs to WordPress
Publishing your Google Docs to WordPress is seamless with Docswrite. Follow these steps to automate your content workflow and eliminate manual copy-paste and formatting issues.
## Step 1: Connect Your Google Account
To get started, connect your Google Account so Docswrite can access your Google Docs.
1. In the Docswrite dashboard, click **Connect Google Account**.
2. Sign in with your Google credentials.
3. Grant Docswrite the requested permissions.
> **Note:** Docswrite only requests the minimal permissions needed to access and export your selected Google Drive documents.
## Step 2: Connect Your WordPress Site
Next, connect your WordPress site to Docswrite. You can do this in one of two ways:
* [Connect via API](/integrations/wordpress/api)
* [Connect via WordPress Plugin](/integrations/wordpress/plugin)
Follow the prompts in the dashboard to complete the connection.
## Step 3: Select Your Document(s)
Now you're ready to export your content:
1. In the Docswrite dashboard, select the Google Doc(s) you want to publish.
* For a single file:\\
* For multiple files (bulk export):\\
## Step 4: Configure Export Settings
Customize your export settings to ensure your Google Doc is published exactly how you want on WordPress.
* Choose your post type (e.g., post, page, or custom type)
* Set categories and tags
* Map custom fields (ACF, SEO, etc.)
* Adjust publishing status (draft, published, scheduled)
* Select additional options like featured image, author, and more
> đź’ˇ **Tip:** For a detailed explanation of each export setting and supported features, see our [Export Settings Guide](/guides/export-settings).
Once you're happy with your configuration, click **Publish to WordPress** to publish your document to WordPress in just one click!
## Step 5: Publish Your Content Successfully 🎉
Once you click **Publish to WordPress**, Docswrite will handle the export and publishing process automatically. Your Google Doc will appear on your WordPress site with all formatting, images, and metadata intact.
🎉 **Well done!** Your content is now live on WordPress. You can view, edit, or update it directly from your Docswrite dashboard.
## Using Our Template Google Doc
To help you get started quickly and understand how to structure your documents for optimal WordPress publishing, we've created a comprehensive template Google Doc that demonstrates all the available fields and their purposes.
**[đź“„ Access Our Template Google Doc](https://docs.google.com/document/d/1qXrzl39WJKYt1AnFxq7sOKmlXmdKa8N5Kuk7Al7d5XI/edit?usp=sharing)**
### Understanding the Template Structure
Our template includes a table that maps various WordPress fields to their corresponding values. Here's what each field means and how it affects your published content:
| Field | Description | WordPress Impact |
| ------------------------------------- | ---------------------------------------- | --------------------------------------------------------------------------------------- |
| **categories** | Comma-separated list of post categories | Assigns your post to specific WordPress categories (e.g., "News, Story") |
| **excerpt** | Brief description of your content | Appears in WordPress when excerpts are enabled under headlines |
| **newspack\_article\_summary** | Additional article context | Adds supplementary information like "Part 1 of a 3-part series about article templates" |
| **newspack\_article\_summary\_title** | Title for the article summary | Creates a summary title like "Article Templates Explained" |
| **newspack\_post\_subtitle** | Subtitle or deckhead | Provides additional context when your headline needs more explanation |
| **yoast\_focuskw** | Primary keyword for SEO | Sets the focus keyword for Yoast SEO optimization |
| **yoast\_title** | SEO title for search results | Controls what appears under your headline in Google search results |
| **yoast\_metadesc** | Meta description for SEO | Provides the description that appears in search engine results |
| **acf\_test** | Custom ACF field example | Shows additional custom field usage |
| **author** | Post author name | Sets the author of the published post |
| **title** | Main post title | The primary headline of your published content |
| **slug** | URL-friendly post slug | Creates the URL structure for your post |
| **post\_type** | Control the publication custom post type | Publish the content as the specified custom type (e.g "book\_type") |
### How to Use the Template
1. **Copy the template**: Make a copy of our template Google Doc to your own Google Drive
2. **Customize the fields**: Replace the example values with your actual content
3. **Add your content**: Write your main content below the table
4. **Publish**: Use Docswrite to export directly to WordPress
The template ensures that all your WordPress metadata, SEO settings, and custom fields are properly configured before publishing, saving you time and ensuring consistency across your content.
# Google Docs to Contentful
Source: https://docs.docswrite.com/use-cases/google-docs-to-contentful
How to automate publishing from Google Docs to Contentful natively
# Publish Google Docs to Contentful
Learn how to seamlessly export and publish your Google Docs directly to Contentful using Docswrite. This guide covers connecting your Contentful account, setting up the correct content model, and publishing your documents with all formatting and metadata intact.
***
## Step 1: Set Up Your Contentful Account and Content Model
First, log in to your Contentful account (or create one if you haven’t already). Once inside, you’ll need to create a **content model** so Docswrite knows how to map your Google Doc fields.
1. **Create a Content Type:**\
In Contentful, go to the Content Model section and click **Add Content Type**. You can either create one manually or use Contentful’s AI to generate it for you.
2. **Add the Following Fields:**\
For Docswrite to recognize and publish your document correctly, add these fields (with the exact names):
* `blog post` (Long text)
* `categories` (Short text or list)
* `excerpt` (Short text)
* `title` (Short text)
* `slug` (Short text)
* `feature image` (Media)
* `author` (Short text **important:** set as text, not reference, so you can customize it)
* `content` (Long text)
> đź’ˇ *You can add more fields if you want, but these are the basics for this example. Make sure to save your content type after adding or editing fields!*
3. **Save your content type.**\
Double-check everything, add or remove fields as needed, and always remember to save your changes!
***
## Step 2: Connect Contentful to Docswrite
Next, connect your Contentful site to Docswrite. You can do this in one of two ways:
* [Connect via API](/integrations/contentful/api)
***
## Step 3: Publish Your Google Doc to Contentful
Now you’re ready to publish!
1. **Go to your Docswrite dashboard.**
2. **Select the Google Doc** you want to publish.
3. **Choose your Contentful content model:**\
Select the content type you just created (e.g., "blog post").
4. **Map your fields:**
* Docswrite will auto-map fields like title and slug, but you can customize them if needed.
* For "author", since you set it as text, you can type your name
* For "feature image", you can select the first image from your doc or choose another.
* For "content", select "main content" to use the body of your Google Doc.
5. **Save your configuration (optional):**\
If you want to reuse these settings for future posts, save them as a preset.
6. **Publish!**
Click publish, and Docswrite will send your Google Doc directly to Contentful, mapped to your content model.
***
## Step 4: See Your Published Content in Contentful
* Go to Contentful and check your entries. You’ll see your new post with the title, slug, author, feature image, and content exactly as in your Google Doc.
* You can edit, unpublish, or delete as needed everything is synced!
# Notion to WordPress
Source: https://docs.docswrite.com/use-cases/notion-to-wordpress
How to automate publishing from Notion to WordPress using Zapier and Docswrite.
# How to Publish from Notion to WordPress using Zapier and Docswrite
Integrating Notion with Zapier and Docswrite allows you to automate your content workflow, making it easy to move content from Notion to publishing in WordPress, all triggered by your Notion database.
## What You’ll Need
* A Notion account
* A Zapier account
* A Docswrite account
* A WordPress site
***
## Step 1: Generate Your Docswrite Authentication Token
To connect Docswrite with Zapier, you'll need an authentication token. Follow these steps:
1. **Open the Docswrite Dashboard:** Log in to your Docswrite account and navigate to your site's dashboard.
2. **Access Settings:** Click on the settings icon of the site you want to manage.
3. **Generate Auth Token:** In the Settings tab, click on **Get Auth Token**.
4. **Copy and Save Your Token:** Once the token is generated, copy it and keep it somewhere safe. You’ll need this token to connect Docswrite to Zapier.
***
## Step 2: Make Your Notion Page Publicly Accessible
Before Docswrite can access your Notion page, you need to ensure the page is shared correctly. Here’s how:
1. **Open your Notion page.**
2. Click on **Share** in the top right corner.
3. Toggle on **Share to web** so that **"Anyone with the link can view"**.
> 💡 *If your Notion page isn’t shared to the web, Docswrite won’t be able to fetch its content!*
4. Copy the shareable link and save it for the next step to put it in your Notion database property.
***
## Step 3: Set Up Your Notion Database
1. **Create a Notion Database:** Organize your content workflow in Notion.
2. **Add Pages:** Create a page for each piece of content you plan to publish. Include details like the title, tags, or categories.
3. **Add Properties:**
* **Notion Page Link:** Add a property named "Notion Link"—this is where you’ll paste the public link to your Notion page.
* **Content Editor:** Add a property named "Content Editor" and set its value to either `gutenberg_editor` or `classic_editor` depending on your preferred WordPress editor.
* **Author:** Add a property named "Author" with your author name.
* If there are any other custom properties that you wish to control, just specify them in the database.
***
## Step 4: Create a Zap in Zapier
1. **Log in to Zapier:** Go to Zapier and log in or create an account.
2. **Create a New Zap:** Click on the "Make a Zap" button.
***
## Step 5: Set Up the Notion Trigger
1. **Choose Notion as the Trigger App:** Search for and select Notion.
2. **Select the Trigger Event:** Choose "New Database Item" (or another event that fits your workflow, such as "Database Item Updated").
3. **Connect Your Notion Account:** Authorize Zapier to access your Notion account.
4. **Set Up Trigger Options:** Select the workspace and database that will trigger the Zap. Click "Continue" and test the trigger to ensure it works.
***
## Step 6: Set Up Docswrite to Publish
1. **Choose Docswrite as the Action App:** Search for and select Docswrite.
2. **Select the Action Event:** Choose "Export Content from Notion to WordPress."
3. **Connect Your Docswrite Account:**
* Authorize Zapier to access your Docswrite Dashboard.
* Paste the **Authentication Token** from step 1.
***
## Step 7: Test Your Zap
* **Test the Zap:** Run a test to ensure that adding or updating a page in Notion creates a post in WordPress.
* **Check Your WordPress Site:** Visit your site to confirm the post has been published successfully.
***
For a full walkthrough, see the [YouTube tutorial](https://www.youtube.com/watch?v=e1EU0obAbjM).
# Programmatic SEO
Source: https://docs.docswrite.com/use-cases/programmatic-seo
How to generate and publish thousands of SEO-optimized pages programmatically using Google Docs and Docswrite.
# Programmatic SEO (PSEO) with Docswrite
Programmatic SEO (PSEO) allows you to generate and publish thousands of SEO-optimized pages at scale, targeting long-tail keywords and increasing your website's organic reach. With Docswrite, you can automate the creation and publishing of these pages directly from Google Docs to your CMS, such as WordPress.
## What is Programmatic SEO?
Programmatic SEO is the process of using automation to create large numbers of unique, high-quality pages that target specific keyword variations or data-driven topics. This approach is ideal for:
* Location-based landing pages (e.g., "Best dentists in \[City]")
* Product or service variations
* Data-driven content (e.g., statistics, directories, templates)
* Comparison pages
## How Docswrite Enables Programmatic SEO
Docswrite streamlines the PSEO workflow by letting you:
* **Create content templates in Google Docs** - create content in Google Docs with curly barces to create a templated content
* **Select your Google Sheet** - containing the variables for each page
* **Automatically generate unique Google Docs** for each data row, replacing placeholders with actual values
* **Bulk export and publish** all generated docs to your CMS (WordPress, Contentful, etc.) with proper formatting, images, and SEO metadata
## Step-by-Step: Launching a Programmatic SEO Campaign
### 1. Prepare Your Content Template
1. In Google Docs, write a template for your page. Use curly braces for variables, e.g.:
```
# Best {{service}} in {{city}}
Looking for the best {{service}} in {{city}}? Our team offers top-rated {{service}} at affordable prices.
```
2. Save your template in your Google Drive.
### 2. Prepare Your Data Source
* Create a Google Sheet with columns matching your placeholders (e.g., `city`, `service`, `price`).
* Each row represents a unique page.
### 3. Connect Docswrite
Go to the Docswrite dashoard and click on **Progarmmatic Publish**
### 4. Generate Pages Programmatically
1. In Docswrite, select your content template from Google Docs
2. Upload your Google Sheet or connect your data source.
3. Docswrite will generate a unique Google Doc for each row, replacing placeholders with your data.
### 5. 🎉 Bulk Export and Publish
1. Select all generated Google Docs.
2. Click **Export** and choose your connected CMS.
3. Configure export options (post type, categories, tags, SEO fields).
4. Click **Publish** to send all pages live.
Docswrite will automatically convert each Google Doc into a published page, preserving formatting, images, and metadata.
# Trello to WordPress
Source: https://docs.docswrite.com/use-cases/trello-to-wordpress
How to automate publishing from Google Docs to WordPress using Trello, Zapier, and Docswrite.
# How to Publish from Google Docs to WordPress using Trello
Integrating Trello with Zapier and Docswrite allows you to automate your content workflow, making it easy to move from content from Google Docs to publishing in WordPress, all triggered by your Trello board.
## What You’ll Need
* A Trello account
* A Zapier account
* A Docswrite account
* A WordPress site
***
## Step 1: Generate Your Docswrite Authentication Token
To connect Docswrite with Zapier, you'll need an authentication token. Follow these steps:
1. **Open the Docswrite Dashboard:** Log in to your Docswrite account and navigate to your site's dashboard
2. **Access Settings:** Click on the settings icon of the site you want to manage
3. **Generate Auth Token:** In the Settings tab, click on **Get Auth Token**.
4. **Copy and Save Your Token:** Once the token is generated, copy it and keep it somewhere safe. You’ll need this token to connect Docswrite to Zapier.
***
## Step 2: Make Your Google Doc Publicly Accessible
Before Docswrite can access your Google Doc, you need to ensure the document is publicly viewable. Here’s how:
1. **Open your Google Doc.**
2. Click on ***File* → *Share* → *Share with others***.
3. In the sharing settings, set the document so that **"Anyone with the link can view"**.
> 💡 *If your document isn’t public, Docswrite won’t be able to fetch its content!*
4. Copy the shareable link and save it for the next step to put it in your Trello card’s custom field.
***
## Step 2: Set Up Your Trello Board
1. **Create a Trello Board:** Log in to Trello and create a new board for your content workflow.
2. **Add Cards:** Create a card for each piece of content you plan to publish. Include details like the title, tags, or categories.
3. **Add Custom Fields:**
* **Google Docs:** Add a custom field named "Google Docs"—this is where you’ll paste the public link to your Google Doc.
* **Content Editor:** Add a custom field named "Content Editor" and set its value to either `gutenberg_editor` or `classic_editor` depending on your preferred WordPress editor.
* **Author**: Add a custom field named "Author" with your author name
* if there are any other custom fields that you wish to control, just specifiy it in the custom fields
***
## Step 2: Create a Zap in Zapier
1. **Log in to Zapier:** Go to Zapier and log in or create an account.
2. **Create a New Zap:** Click on the "Make a Zap" button.
***
## Step 3: Set Up the Trello Trigger
1. **Choose Trello as the Trigger App:** Search for and select Trello.
2. **Select the Trigger Event:** Choose "Card Moved to List" (or another event that fits your workflow).
3. **Connect Your Trello Account:** Authorize Zapier to access your Trello account.
4. **Set Up Trigger Options:** Select the board and list that will trigger the Zap. Click "Continue" and test the trigger to ensure it works.
5. Configure it accordingly
***
## Step 4: Set Up Docswrite to Publish
1. **Choose Docswrite as the Action App:** Search for and select Docswrite.
2. **Select the Action Event:** Choose "Export Content from Google Docs to WordPress."
3. **Connect Your Docswrite Account:**
* Authorize Zapier to access your Docswrite Dashboard.
* Paste the **Authentication Token** from step 1
## Step 5: Test Your Zap
* **Test the Zap:** Run a test to ensure that moving a card in Trello creates a post in WordPress.
* **Check Your WordPress Site:** Visit your site to confirm the post has been published successfully.
# WordPress to Google Doc
Source: https://docs.docswrite.com/use-cases/wordpress-to-google-doc
How to export and backup your WordPress content directly to Google Docs using Docswrite.
# Export WordPress Content to Google Docs
Exporting your WordPress content to Google Docs is seamless with Docswrite. Follow these steps to backup your content, collaborate with editors, or create drafts in Google Docs from your existing WordPress posts and pages.
## Step 1: Connect Your Google Account
To get started, connect your Google Account so Docswrite can access your Google Docs.
1. In the Docswrite dashboard, click **Connect Google Account**.
2. Sign in with your Google credentials.
3. Grant Docswrite the requested permissions.
> **Note:** Docswrite only requests the minimal permissions needed to access and export your selected Google Drive documents.
## Step 2: Connect Your WordPress Site
Next, connect your WordPress site to Docswrite. You can do this in one of two ways:
* [Connect via API](/integrations/wordpress/api)
* [Connect via WordPress Plugin](/integrations/wordpress/plugin)
Follow the prompts in the dashboard to complete the connection.
## Step 3: Import Posts from WordPress
Click **Import From WordPress** in the Docswrite dashboard to begin importing your WordPress posts into Google Docs.
## Step 4: Choose Your Destination Google Drive Folder
Select the Google Drive folder where you want your imported posts to be saved.
## Step 5: Select Posts to Import
Docswrite will display all your WordPress posts. Choose one, multiple, or all posts you wish to import.\
When you're ready, click **Import Posts** to start the process.
## Step 6: 🎉 Your Posts Are Now Successfully Imported!
Your selected WordPress posts have been imported into Docswrite and are now available in your chosen Google Drive folder.