# Create Blog in Wordpress from SurveySparrow surveys

**URL:** <https://community.surveysparrow.com/t/create-blog-in-wordpress-from-surveysparrow-surveys/2493>\
**Category:** Feature Requests & Ideas\
**Created:** [July 27, 2022, 2:53pm UTC](https://community.surveysparrow.com/t/create-blog-in-wordpress-from-surveysparrow-surveys/2493 "2022-07-27T14:53:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wahab](https://dub1.discourse-cdn.com/flex013/user_avatar/community.surveysparrow.com/wahab/32/319_2.png) [@Wahab](https://community.surveysparrow.com/u/Wahab)\
**Post date:** [July 27, 2022, 2:53pm UTC](https://community.surveysparrow.com/t/create-blog-in-wordpress-from-surveysparrow-surveys/2493/1 "2022-07-27T14:53:30Z")

</div>

### User-submitted posts are great for building a thriving community

In this post, we’ll walk you through a solution that will enable users to submit blog articles, customer testimonials, or any WordPress post content without WordPress login or complicated coding.

The whole process could be split into 3 phases :

1. Capturing post content

2. Sending the content into WordPress

3. Review the content and Publishing.

#### **Phase 1: Capturing Post Content**

Let’s see how we can create a custom form for post-submission on SurveySparrow.

1. Once you log in, you will land on your account dashboard where you can find the `+ New Survey Button` at the top right side corner. Click on the button to create a survey of your choice.

2. Select Classic Survey as your survey choice and you will be taken to the survey builder to [create your form](https://help.surveysparrow.com/creating-surveys-using-surveysparrow).

Now add necessary questions such as Post title, Post content, Post Author and Category. We could also create a question to capture the author’s email address to make further communication easier.

**![](https://lh6.googleusercontent.com/vNguUZRU7v8RpccAU_J81ZwLKaTRuUoM4CrmFKlLT1Fkypl9ZJiJlIThvfz6ylsOzekRCrdsgjFOHiA051L0tzdTxyveCFD0EC5IYnglmD3gUdXTArYVO89kb3qUA21K2dG21BgyHgE6ASw5-ml04A)**

#### **Phase 2: Sending the content into WordPress**

To receive data from SurveySparrow to WordPress without logging in, we need to create a webhook. We will create the webhooks using a plugin named - **WP Webhooks**

.

Visit your plugins section on the dashboard and search WP Webhooks as shown below:

**![](https://lh6.googleusercontent.com/4k-GSPGOOIodgp6DDUacoemfuLLu954kdMawSZPeNAu6mAIIBBYz8p94bRwIiF_ViiptKPgcjpjCuMqzDLVkaI8JO6oVFQNQibCAO4_kga14IcEXBKy89JiACdN7MI8QAfzZ4JdhfzNR9GgU_qBXvv8)**

Once done, you can activate and access the Webhook settings under WordPress Settings Menu inside the dashboard.

![](https://lh4.googleusercontent.com/NPion8Tak2P6a7JPhmux4MhgLflSkMrmHRJV3s5oFbmfVKaasaLPxo3TOzdRIsA4p_mnU7m3jwY6UtlBVnM7qx3OGI3ZPu9Asoj2EMz9OWWusy17NhiWiQtG8baFuB_RTVw2KvryiG3r_-IZJrFdR_4)

You can access the Webhook url by clicking the **Receive Data** link on top

**![](https://lh4.googleusercontent.com/2IZAdXOa-q9TvCZWnrA26SJll-JnxiotGzgx9B5nAR3_Y-90Bdw8aeRt_asUDFFRfkdElRSC8022TzEfcPi0dV0ci6qxY5mRY0QwuKxAL1NmuObLVWuzHXtyw-YE15s2adesnfwnYtPNm9wrJe2Mh5s)**

This is where it gets more interesting. You can find all the actions that you can perform using the webhooks by clicking the Webhooks Actions.

**![](https://lh4.googleusercontent.com/9OS0TOLxw-CTUILzpzXGe8adZEHpnRxv4kcj40HUi23cRDFIP9wibnAiKj8L3aCw-rmTun4hFNzM67GwSzFpZGhoUC93WdOaD4cOvTI137aD-xH-NoYjgp4HvLAfd0Iylw1SldUaclt9Sv24eXeRHRg)**

We are currently interested in creating a post so we will select that particular action and browse through the available options.

![](https://lh6.googleusercontent.com/gfqNXklt1ys2OegJeY5l045pz5VktMH9mC5OdKHE3yFT3HI8CzD5IFixVT5Bz7DdRd9LjeQXCO6rlPZ0gKJ0T7QwDd6YsUEyzzkceTaVmcCGAAyv55TDofAeK0khGRbHrbGeYv07lsdjnX7yXEouTLA)

`Please note that the create_post action is crucial here; you need to add this action to your webhook URL for receiving the data successfully.`

You need to make a list of fields/data you require to capture and send to WordPress. We will collect the following data:

```auto
1. Post_title
2. Post_content
3. Post_author
4. Post_category

```

Once the questions are created navigate to the Integrate tab and choose webhooks and create new webhooks as shown below.

**![](https://lh6.googleusercontent.com/twCcG-XsT38Khsc8Dz8gPlyvbPoxkHrDMO89tJxI8ZzvBebn3UU2p7yxpUPpd4f2s3w5o6K7a3IKXy0QGqTVMOGRzuwQYWvzit7QQOyZ6gwddHebntk0tNKoKBpyo_lDwHn7dnCldAt1tkIzMJIl718)**

Save the webhook. Now, whenever the survey is submitted the responses are captured and it will create a draft post in your WordPress account.

#### **Phase 3: Review the content and Publishing.**

Now you can navigate to the post section of your WordPress account, review the draft post and publish it.

Thus with SurveySparrow, you can easily create a form/survey to accept guest posts. And because you can map the form fields to the fields on your blog, you can publish user-generated content on the front quickly and easily

Would love to hear your feedback on this. Share your thoughts as comments / posts.

👋🏽
