Tag creation based in a Input Field

Im trying set a way to create tags in a form based in a Input Field.

I have a form that is used to create campaings, one of the fields of this form is a input field, I would like to insert distinct texts separated by commas (,), and after click a button, create those words as separated tags in my app data.

A part of it in the end of the form I have a button to create the campaing, I also need to save all the info of the form, including the tags that was created in the app data in the data type campaings.

I thinking in something like that, but if someone have any other better way to do it, Im full open to hear it.

To confirm your intended goal here:

You want to allow someone filling out a form to input multiple tags as a string of text into an input field, each separated by commas. For example: ‘marketing, email, growth’.

When the form is submitted via a button, those tags should be: 1) split into individual text values, that are 2) each saved into a list (likely a field like ‘tags’ on a ‘campaign’ data type object)

If that’s the case, this is my suggestion:

  1. Input setup
  • Use a standard input field for the tag value of type = input.
  1. Workflow on button click. When clicking the appropriate button:
  • Use the :split by operator on the input field’s value to split by a comma ‘,’
  • This turns the string into a list of text values
  • In the object you create, set the Tags field (must be type list of texts) to: input’s value: split by “,”. Follow up with trimmed to remove any trailing spaces.
1 Like