# Google Doc to Wordpress

**URL:** <https://community.make.com/t/google-doc-to-wordpress/16527>\
**Category:** Questions\
**Tags:** wordpress, google-drive\
**Created:** [September 25, 2023, 4:38pm UTC](https://community.make.com/t/google-doc-to-wordpress/16527 "2023-09-25T16:38:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![BoredAugust](https://avatars.discourse-cdn.com/v4/letter/b/22d042/32.png) [@BoredAugust](https://community.make.com/u/BoredAugust)\
**Post date:** [September 25, 2023, 4:38pm UTC](https://community.make.com/t/google-doc-to-wordpress/16527/1 "2023-09-25T16:38:28Z")

</div>

Hello

Im moving over from Zapier to Make. What I’m trying to achieve is:

1. watch a google drive folder for new docs
2. create wordpress post from google doc (include formatting)

I’m able to get the title but i cant for the life of me figure out “Contents” as I don’t have that option from the drop down.

Secondly, I’m wondering if this is something that’s also attainable via google sheets + formatting (I dont think formatting is possible on sheets unless its possibly a HTML pasted code)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/4/44d5f817799fd697df51720625a9360ee2daa2ca.jpeg)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [September 26, 2023, 1:23am UTC](https://community.make.com/t/google-doc-to-wordpress/16527/2 "2023-09-26T01:23:46Z")

</div>

Welcome to the Make community!

**A. You’ll can use the “Get Content of a Document” module to get the document contents:**

 ![Screenshot_2023-09-26_112201](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/c/c10590f6039ccf2d290cd40f2ec05983f9068b79.png)

**B. Alternatively, you can also use the “Download a Document” (as HTML) to get the formatting:**

 ![Screenshot_2023-09-26_112541](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/6/67fcf2582f5dafd8a41507110bd728a7f7a2f480.png)

---

<div class="post-metadata">

**Author:** ![BoredAugust](https://avatars.discourse-cdn.com/v4/letter/b/22d042/32.png) [@BoredAugust](https://community.make.com/u/BoredAugust)\
**Post date:** [September 29, 2023, 10:01pm UTC](https://community.make.com/t/google-doc-to-wordpress/16527/3 "2023-09-29T22:01:30Z")

</div>

thanks for getting back thanks for getting back to me. i definitely want formatting (imagine a WP post without any!)

two things, when i post, how do i make sure it gets published right away instead of going to a draft?

secondly, when i go the download a doc & html route, and let the flow run to the point the post is saved as a draft - the second i click PUBLISH, my entire website becomes left justified! if i move the post back to draft - my website is back to normal!

[see link](https://boredaugust.com/10-english-to-japanese-travel-hacks-unlock-the-best-of-japanese-cities/)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [September 30, 2023, 7:08am UTC](https://community.make.com/t/google-doc-to-wordpress/16527/4 "2023-09-30T07:08:10Z")

</div>

Your article body must not contain the html tags: `<html>` or `<head>` or `<body>` tags, or anything within the `<head> </head>` tags.

 ![Screenshot_2023-09-30_150938](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/4/344fe5f630ee8f6b929b33b01370fbf4efa26236.png)

GREEN = OK  
RED = REMOVE

---

<div class="post-metadata">

**Author:** ![BoredAugust](https://avatars.discourse-cdn.com/v4/letter/b/22d042/32.png) [@BoredAugust](https://community.make.com/u/BoredAugust)\
**Post date:** [September 30, 2023, 5:46pm UTC](https://community.make.com/t/google-doc-to-wordpress/16527/5 "2023-09-30T17:46:03Z")

</div>

My article body is just text with a few bolded headlines (no html at all). The tags come in automatically from the post to wordpress automation within [make.com](http://make.com)

---

<div class="post-metadata">

**Author:** ![BoredAugust](https://avatars.discourse-cdn.com/v4/letter/b/22d042/32.png) [@BoredAugust](https://community.make.com/u/BoredAugust)\
**Post date:** [September 30, 2023, 5:57pm UTC](https://community.make.com/t/google-doc-to-wordpress/16527/6 "2023-09-30T17:57:50Z")

</div>

my suspicion is that the issue occurs under Content = Data, but i dont have anything else instead of Data that seems applicable

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/f/b/fb0ea47a30a73f7863e38b331e191eeb8ebf1f6e.png)  
p

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [October 1, 2023, 3:06am UTC](https://community.make.com/t/google-doc-to-wordpress/16527/7 "2023-10-01T03:06:50Z")

</div>

You might need to process the `data` from {{5}} to strip/replace/remove the unnecessary formatting then.

---

<div class="post-metadata">

**Author:** ![BoredAugust](https://avatars.discourse-cdn.com/v4/letter/b/22d042/32.png) [@BoredAugust](https://community.make.com/u/BoredAugust)\
**Post date:** [October 1, 2023, 9:04pm UTC](https://community.make.com/t/google-doc-to-wordpress/16527/8 "2023-10-01T21:04:03Z")

</div>

got it. when i manually delete the data it works well.  
any advice on how to strip the data via make?

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [October 2, 2023, 1:54am UTC](https://community.make.com/t/google-doc-to-wordpress/16527/9 "2023-10-02T01:54:56Z")

</div>

You can use the “Text Replace” module with this pattern to strip out unnecessary HTML.

 ![Screenshot_2023-10-02_091045](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/4/e4cfa50cb36451edcc053b53c5bfabfdb1b66af9.png)

[Regex](https://regex101.com/r/DSoqA8)

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [December 31, 2023, 3:07am UTC](https://community.make.com/t/google-doc-to-wordpress/16527/10 "2023-12-31T03:07:43Z")

</div>


