Form with Email Notification

You can design a workflow to send an email notification based on the details provided in a form.
  1. Design a new workflow.

  2. From the User Interface section, drag and drop a Form task.

  3. To design a new form, in the Gallery window, click .

  4. Under the Information tab, enter the Task name.

  5. Click Next.
  6. To add the form fields, under Form builder, from the top right corner of the screen, click .

  7. Add the following form fields and turn on the Global varibale toggle to enable the field IDs as global variables:
    • Enter your name: Field type - Text box, Field ID - name
    • Enter your email address: Field type - Text box, Field ID - email
    • Enter your message: Field type - Multi-line, Field ID - message
    Note: For more information on adding form fields, click here.
  8. Click Save.
  9. From the Notification section, drag and drop and Email task.

  10. In the Email task window, under Properties, in the General section, refer the global variables defined in the Form task.

  11. Click Save.
  12. Connect and enable the workflow.

    Note: For more information on enabling a workflow, click here.
  13. From the top left corner of the screen, click .
  14. From the menu displayed, click Request.
  15. On the Request :: Overview page, from the navigation pane on the left, click View/Run.
  16. To trigger the workflow, on the Request :: View/Run page, search for the Form with Email Notification workflow and click .

  17. Enter the details in the input form.

  18. Click Submit.
    • Email notification successfully sent.

    • Email notification received.