Answers.Body: <p>Take a look at civirules, with the email api extension also enabled so that the action of sending an email is available. That might get you partly there. You can set rules for when events change or activities are added, which could trigger your email.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-02T17:32:10.917Z
Answers.Text: Agreed, CiviRules would be great to explore. I also was looking at this extension from CiviCoop for events https://github.com/CiviCooP/org.civicoop.caselink, thought I'd reference since it could be useful in this case.
Answers.UserDisplayName: Dana
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-30T20:26:04.620Z
Answers.LastActivityDate: 2019-06-30T20:26:04.620Z
Answers.UserDisplayName: Demerit
Body: <p>I'm trying to figure out how to do automated workflows.
  This is an example of one such process:</p>
  
  <ol>
  <li>Member fills in a request to host an event using Caldera Forms (at the moment).  I currently have some custom code that creates the event in CiviCRM for me, using the API, upon submission.</li>
  <li>Reviewers must approve the event request </li>
  <li>Once approved, an email needs to be sent to the event host with specific event information</li>
  <li>We then wait for the event host to send us a document with the announcement</li>
  <li>Reviewers must approve the announcement</li>
  <li>An announcement is then bulk emailed to all members</li>
  <li>Opens to the general public 3 days after the given date of opening to members</li>
  </ol>
  
  <p>I've looked at CiviCase, which would be great to manage each of these events but is there a way to trigger the activities above from a Case?  I need to be able to pull information from the event record for various parts of this (steps 3 and 6, for example).
  I currently do this manually - I send the email by manually updating the email before sending.
  We get so many requests that I sometimes lose track of where I am with each of these events.  If I also have to manually update CiviCase, that adds to the workload and kind of defeats the purpose of streamlining this process.<br>
  Thoughts?  Suggestions?  I can write scripts to call the API if need be, if that is the only way but seems that it would be part of the app?
  Thanks
  Norm</p>
  
Tags: <civicase><tokens><automation>
Title: Workflow and Automation
ThreadText: # Workflow and Automation
  
  (Asked by: username_0 on 2019-06-30)
  
  I'm trying to figure out how to do automated workflows.
  This is an example of one such process:
  
  1. Member fills in a request to host an event using Caldera Forms (at the moment). I currently have some custom code that creates the event in CiviCRM for me, using the API, upon submission.
  2. Reviewers must approve the event request
  3. Once approved, an email needs to be sent to the event host with specific event information
  4. We then wait for the event host to send us a document with the announcement
  5. Reviewers must approve the announcement
  6. An announcement is then bulk emailed to all members
  7. Opens to the general public 3 days after the given date of opening to members
  
  I've looked at CiviCase, which would be great to manage each of these events but is there a way to trigger the activities above from a Case? I need to be able to pull information from the event record for various parts of this (steps 3 and 6, for example).
  I currently do this manually - I send the email by manually updating the email before sending.
  We get so many requests that I sometimes lose track of where I am with each of these events. If I also have to manually update CiviCase, that adds to the workload and kind of defeats the purpose of streamlining this process.  
  Thoughts? Suggestions? I can write scripts to call the API if need be, if that is the only way but seems that it would be part of the app?
  Thanks
  username_0
  
  **Tags:** civicase, tokens, automation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-06-30. Score: 1
  
  Take a look at civirules, with the email api extension also enabled so that the action of sending an email is available. That might get you partly there. You can set rules for when events change or activities are added, which could trigger your email.
  
  > **Comments:**
  > **username_2**: Agreed, CiviRules would be great to explore. I also was looking at this extension from CiviCoop for events https://github.com/CiviCooP/org.civicoop.caselink, thought I'd reference since it could be useful in this case.  
  
  ---
  
  