Answers.Body: <p>You could achieve this with the CiviRules extension, although I am not sure if all the conditions and actions you would require are in the box yet. It would be fairly straightforward to develop them.</p>
  
  <p>Having said so, I would also not use CiviCase as a ticketing system, I think there are better alternatives. As Demerit pointed out there are many types of vehicle....sometimes I prefer the bicycle and sometimes the car :-)</p>
  
  <p>You can find the CiviRules extension here: <a href="https://civicrm.org/extensions/civirules" rel="nofollow noreferrer">https://civicrm.org/extensions/civirules</a> and documentation (inluding how to develop conditions and actions) here: <a href="https://docs.civicrm.org/civirules/en/latest/" rel="nofollow noreferrer">https://docs.civicrm.org/civirules/en/latest/</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-20T22:43:25.663Z
Answers.Text: Thank you.  I did try using CiviRules (see https://civicrm.stackexchange.com/questions/24177/what-are-some-best-practices-for-inbound-email-handling-with-civicrm) but it did not contain the required conditions or actions.  I will try perhaps to look into developing some new rules.
Answers.UserDisplayName: richardsplayground
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-20T19:27:23.710Z
Answers.LastActivityDate: 2018-03-20T19:27:23.710Z
Answers.UserDisplayName: ErikH - CiviCooP
Answers.Body: <p>another alternative is to investigate using a webform for people to submit their issue to you, rather than by email. The webform can create cases.</p>
  
  <p>Best</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-14T17:32:10.123Z
Answers.LastActivityDate: 2020-01-14T17:32:10.123Z
Answers.UserDisplayName: Jamie Novick - Compucorp
Answers.Body: <p>It can't do that out of the box but you could theoretically write an extension to use <a href="https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_emailProcessor/" rel="nofollow noreferrer">hook_civicrm_emailProcessor</a> to create the case when an email comes in. But unless you always want the client to be the From address, you'd have to figure out how to decide who is the client if there's multiple To/Cc's. You'd also have to decide what to do when the client/case already exists for an incoming email or you might get duplicate cases.</p>
  
  <p>For the second part of your question, there used to be a link that appears on the far right-hand side of activity search listings, and a button at the bottom of the page when you view activities, but it looks like maybe this has changed in the latest version. But I can see it under search results in the dropdown under Actions (e.g. after doing Search - Find Activities).</p>
  
  <p><a href="https://i.sstatic.net/25Ace.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/25Ace.png" alt="screenshot"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-18T22:36:37.993Z
Answers.Text: Hi again.  I was very surprised that this is not default behaviour out of the box.  I guess CiviCase is not intended to replace like a ticketing system?  Anyway, I have posted a new question to ask about best practices for inbound email handling: https://civicrm.stackexchange.com/questions/24177/what-are-some-best-practices-for-inbound-email-handling-with-civicrm.  The fact that this is not default behaviour for CiviCase makes me think perhaps it is not the appropriate tool for the job?  Any thoughts?
Answers.UserDisplayName: richardsplayground
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-19T01:34:59.200Z
Answers.Text: We tried it once internally as a ticket system, as an "eat your own dogfood" type of thing. But I remember what I said at the time was sometimes you need a truck and sometimes you need a van. They're similar vehicles but depends what you need to do.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-18T13:43:37.603Z
Answers.LastActivityDate: 2018-03-18T13:43:37.603Z
Answers.UserDisplayName: Demerit
Body: <p>I feel like this is an incredibly basic question, but I have read through the user guide, the admin guide, and searched stackexchange and google, and I have not found the answer.</p>
  
  <p>I have set up an e-mail account to receive inbound emails, and I have successfully configured CiviCRM to check that account, pull in email, and turn those emails into Activities on the contact record.  So far, so good.</p>
  
  <p>But what I want is for any inbound e-mail to become a case in CiviCase.</p>
  
  <p>I have read in the docs that inbound email will be tagged to an existing case if it contains a subject line field.  And I have also read <a href="https://docs.civicrm.org/user/en/latest/case-management/set-up/#filing-emails-on-cases" rel="noreferrer">here</a>: </p>
  
  <blockquote>
    <p>In the CiviMail chapter the Email Processor was described as a way to
    get inbound and outbound emails into CiviCRM as non-case activities.
    When you enable CiviCase, a new action will be available that allows
    you to file any non-case activity onto a case.</p>
  </blockquote>
  
  <p>Where is that new action?  I edited the Scheduled Job for Process Inbound Email, and it doesn't have an option to put new emails into a case.  </p>
  
  <p>Thanks for your help.</p>
  
  <p>CiviCRM 4.7.20 on Drupal if that matters</p>
  
Tags: <email><civicase>
Title: How do I automatically create a case on inbound email?
ThreadText: # How do I automatically create a case on inbound email?
  
  (Asked by: username_0 on 2018-03-18)
  
  I feel like this is an incredibly basic question, but I have read through the user guide, the admin guide, and searched stackexchange and google, and I have not found the answer.
  
  I have set up an e-mail account to receive inbound emails, and I have successfully configured CiviCRM to check that account, pull in email, and turn those emails into Activities on the contact record. So far, so good.
  
  But what I want is for any inbound e-mail to become a case in CiviCase.
  
  I have read in the docs that inbound email will be tagged to an existing case if it contains a subject line field. And I have also read [here](https://docs.civicrm.org/user/en/latest/case-management/set-up/#filing-emails-on-cases):
  
  > In the CiviMail chapter the Email Processor was described as a way to
  > get inbound and outbound emails into CiviCRM as non-case activities.
  > When you enable CiviCase, a new action will be available that allows
  > you to file any non-case activity onto a case.
  
  Where is that new action? I edited the Scheduled Job for Process Inbound Email, and it doesn't have an option to put new emails into a case.
  
  Thanks for your help.
  
  CiviCRM 4.7.20 on Drupal if that matters
  
  **Tags:** email, civicase
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_3 on 2018-03-18. Score: 3 | Accepted answer
  
  It can't do that out of the box but you could theoretically write an extension to use [hook\_civicrm\_emailProcessor](https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_emailProcessor/) to create the case when an email comes in. But unless you always want the client to be the From address, you'd have to figure out how to decide who is the client if there's multiple To/Cc's. You'd also have to decide what to do when the client/case already exists for an incoming email or you might get duplicate cases.
  
  For the second part of your question, there used to be a link that appears on the far right-hand side of activity search listings, and a button at the bottom of the page when you view activities, but it looks like maybe this has changed in the latest version. But I can see it under search results in the dropdown under Actions (e.g. after doing Search - Find Activities).
  
  [![screenshot](https://i.sstatic.net/25Ace.png)](https://i.sstatic.net/25Ace.png)
  
  > **Comments:**
  > **username_0**: Hi again.  I was very surprised that this is not default behaviour out of the box.  I guess CiviCase is not intended to replace like a ticketing system?  Anyway, I have posted a new question to ask about best practices for inbound email handling: https://civicrm.stackexchange.com/questions/24177/what-are-some-best-practices-for-inbound-email-handling-with-civicrm.  The fact that this is not default behaviour for CiviCase makes me think perhaps it is not the appropriate tool for the job?  Any thoughts?  
  > **username_3**: We tried it once internally as a ticket system, as an "eat your own dogfood" type of thing. But I remember what I said at the time was sometimes you need a truck and sometimes you need a van. They're similar vehicles but depends what you need to do.  
  
  ---
  
  ### Answer by username_1 on 2018-03-20. Score: 1
  
  You could achieve this with the CiviRules extension, although I am not sure if all the conditions and actions you would require are in the box yet. It would be fairly straightforward to develop them.
  
  Having said so, I would also not use CiviCase as a ticketing system, I think there are better alternatives. As username_3 pointed out there are many types of vehicle....sometimes I prefer the bicycle and sometimes the car :-)
  
  You can find the CiviRules extension here: <https://civicrm.org/extensions/civirules> and documentation (inluding how to develop conditions and actions) here: <https://docs.civicrm.org/civirules/en/latest/>
  
  > **Comments:**
  > **username_0**: Thank you.  I did try using CiviRules (see https://civicrm.stackexchange.com/questions/24177/what-are-some-best-practices-for-inbound-email-handling-with-civicrm) but it did not contain the required conditions or actions.  I will try perhaps to look into developing some new rules.  
  
  ---
  
  ### Answer by username_2 on 2020-01-14. Score: 0
  
  another alternative is to investigate using a webform for people to submit their issue to you, rather than by email. The webform can create cases.
  
  Best
  
  
  ---
  
  