Answers.Body: <p>I'd create a &quot;volunteer inquiry&quot; activity type and configure the form to log that activity. The benefit is you know when they inquired, not just they are a volunteer. Yes, the group added date would have that but activities are the best way to track interactions. When you assign an activity, it automatically notifies the assignee.</p>
  <p><a href="https://i.sstatic.net/NQIZT.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/NQIZT.png" alt="enter image description here" /></a></p>
  <p>Then, create a CiviRule to trigger on the <em>activity is added</em> trigger targeting the activity source with a <em>Add Contact to a Group</em> action.</p>
  <p><a href="https://i.sstatic.net/7owT2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7owT2.png" alt="enter image description here" /></a></p>
  <p>You optionally can add an additional CiviRule targeting the activity assignee to send an email notification (via the <a href="https://lab.civicrm.org/extensions/emailapi" rel="nofollow noreferrer">emailapi extension</a>) to the volunteer coordinator.</p>
  <p><a href="https://i.sstatic.net/npr7X.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/npr7X.png" alt="enter image description here" /></a></p>
  <p>This may be preferred if you want to easily customize the message of the notification. If so, then you'd want to disable the default notification at <a href="https://%20Display%20Preferences" rel="nofollow noreferrer">Display Preferences</a>.</p>
  <p><a href="https://i.sstatic.net/dczth.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dczth.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-16T18:33:41.520Z
Answers.Text: That is an elegant solution my friend.  I greatly appreciate it.
Answers.UserDisplayName: shibetpc
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-16T18:28:02.070Z
Answers.LastActivityDate: 2023-02-17T22:22:23.640Z
Answers.LastEditDate: 2023-02-17T22:22:23.640Z
Answers.UserDisplayName: Andy Burns
Body: <p>Once I've created a form in FormBuilder form and exposed it to the front end, how can I wrap some rules around it once a submission is sent?  For example, add the user to a group, notify these people that form has been submitted, that kind of thing.</p>
  <p>I'm using it to collect volunteer interest, including from anonymous users.  Once they submit, I'd like to add that contact to a group and notify the volunteer coordinator.</p>
  <p>Any insight appreciated :)</p>
  
Tags: <formbuilder>
Title: FormBuilder submission and add to group
ThreadText: # FormBuilder submission and add to group
  
  (Asked by: username_0 on 2023-02-16)
  
  Once I've created a form in FormBuilder form and exposed it to the front end, how can I wrap some rules around it once a submission is sent? For example, add the user to a group, notify these people that form has been submitted, that kind of thing.
  
  I'm using it to collect volunteer interest, including from anonymous users. Once they submit, I'd like to add that contact to a group and notify the volunteer coordinator.
  
  Any insight appreciated :)
  
  **Tags:** formbuilder
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-02-16. Score: 3 | Accepted answer
  
  I'd create a "volunteer inquiry" activity type and configure the form to log that activity. The benefit is you know when they inquired, not just they are a volunteer. Yes, the group added date would have that but activities are the best way to track interactions. When you assign an activity, it automatically notifies the assignee.
  
  [![enter image description here](https://i.sstatic.net/NQIZT.png)](https://i.sstatic.net/NQIZT.png)
  
  Then, create a CiviRule to trigger on the *activity is added* trigger targeting the activity source with a *Add Contact to a Group* action.
  
  [![enter image description here](https://i.sstatic.net/7owT2.png)](https://i.sstatic.net/7owT2.png)
  
  You optionally can add an additional CiviRule targeting the activity assignee to send an email notification (via the [emailapi extension](https://lab.civicrm.org/extensions/emailapi)) to the volunteer coordinator.
  
  [![enter image description here](https://i.sstatic.net/npr7X.png)](https://i.sstatic.net/npr7X.png)
  
  This may be preferred if you want to easily customize the message of the notification. If so, then you'd want to disable the default notification at [Display Preferences](https://%20Display%20Preferences).
  
  [![enter image description here](https://i.sstatic.net/dczth.png)](https://i.sstatic.net/dczth.png)
  
  > **Comments:**
  > **username_0**: That is an elegant solution my friend.  I greatly appreciate it.  
  
  ---
  
  