# Workflow Form data to tasks

**URL:** <https://community.hubspot.com/t/workflow-form-data-to-tasks/119098>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [October 24, 2024, 1:40pm UTC](https://community.hubspot.com/t/workflow-form-data-to-tasks/119098 "2024-10-24T13:40:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niels2](https://avatars.discourse-cdn.com/v4/letter/n/90ced4/32.png) [@Niels2](https://community.hubspot.com/u/Niels2)\
**Post date:** [October 24, 2024, 1:40pm UTC](https://community.hubspot.com/t/workflow-form-data-to-tasks/119098/1 "2024-10-24T13:40:44Z")

</div>

I have a simple workflow:

1. A form where a user can select a preferred date, among other things.

2. after submit, a task is created.

a) Can I create a task with due date = preferred date

b) Add the form values to the Task notes field?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 24, 2024, 8:37pm UTC](https://community.hubspot.com/t/workflow-form-data-to-tasks/119098/2 "2024-10-24T20:37:04Z")

</div>

Hey, @Niels2 👋 Thanks for the interesting question.

This isn’t possible out of the box using the Workflows tool. The task creation action doesn’t offer a way to set a custom property value as a task due date. If you have access to [**Custom Coded Workflow Actions**](https://developers.hubspot.com/docs/api/workflows/custom-code-actions) (Operations Hub Professional or Enterprise) you can investigate grabbing a custom date property from your form submission and using it to set the due date for a task created programmatically. Here’s an [**example**](https://community.hubspot.com/t5/APIs-Integrations/Custom-Code-Workflow-Task-Creation-Not-Associating-with-Ticket/td-p/1051566/jump-to/first-unread-message) of a user creating tasks using a custom coded workflow action.

Another option is to create an app or middleware to grab the form submission data using the [**Forms API**](https://legacydocs.hubspot.com/docs/methods/forms/get-submissions-for-a-form) and then use the **[Tasks API](https://developers.hubspot.com/docs/api/crm/tasks)** to create the task with the form data.

If your form fields are stored as Contact properties, you can add them to the note body of a Task using the Workflow tool (screenshot)

 ![CleanShot 2024-10-24 at 14.25.56@2x.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/f8c340699c87e497e3df19ed5eee4b10379856e6.png)

In summary, it is not possible to accomplish both of your goals only using the Workflow tool. It may be possible either using Custom Coded Workflow Actions or by creating an app, but both will likely require some experimentation and testing.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![Niels2](https://avatars.discourse-cdn.com/v4/letter/n/90ced4/32.png) [@Niels2](https://community.hubspot.com/u/Niels2)\
**Post date:** [October 25, 2024, 8:37am UTC](https://community.hubspot.com/t/workflow-form-data-to-tasks/119098/3 "2024-10-25T08:37:11Z")

</div>

Hello Jaycee.

Thanks for your detailed answer.  
a) “Custom code workflow”: I can’t find this option. We have the professional subscription.  
b) Own middleware. For another customer we have build a middleware application in Python. Works perfect. Could be interessting if we have more needs.  
c) Use the Notes fields: This is a good and simple first ‘solution’
