Contains word with label: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
|title=Contains word with label
|titlemode=append
|keywords=planfix, label, rule
|description=Contains word with label
}}
'''Note''': This article describes an obsolete email rule condition that is only supported for backward compatibility with previously created rules. If you create new rules, we recommend that you use the [[Contains text]] condition.
----
With these conditions, you can set your own labels and process emails with them according to certain rules. While these conditions are similar to those for [[Contains text]], labels allow for more flexibility.
With these conditions, you can set your own labels and process emails with them according to certain rules. While these conditions are similar to those for [[Contains text]], labels allow for more flexibility.


You can create your own set of labels, each of which denotes a particular type of object.  
You can create your own set of labels, each of which denotes a particular type of object.  
Line 13: Line 21:
Once the rules have been set for your labels, you can add the labels to emails sent to a [[Assigning tasks by email | Planfix email address]]. Planfix will analyze the labels and set the fields you defined for the task created. In the rules, you define only the labels themselves. You can set the words after them as you wish, as long as Planfix can clearly identify what you meant.
Once the rules have been set for your labels, you can add the labels to emails sent to a [[Assigning tasks by email | Planfix email address]]. Planfix will analyze the labels and set the fields you defined for the task created. In the rules, you define only the labels themselves. You can set the words after them as you wish, as long as Planfix can clearly identify what you meant.


 
As an example, imagine that you entered the rules above and then sent an email with the labels to your [[Assigning tasks by email|address in Planfix]]. This is how they will be processed:
As an example, imagine that you entered the rules above and then sent an email with the labels to your address in Planfix. This is how they will be processed:


*'''#Energy''' - Planfix will find the project that contains the word "Energy" in its name and create a task in it.
*'''#Energy''' - Planfix will find the project that contains the word "Energy" in its name and create a task in it.
*'''~John''' - Planfix will add the employee whose first or last name contains "John" to the assignees of the task
*'''~John''' - Planfix will add the employee whose first or last name contains "John" to the assignees of the task
*'''%21-12-2012''' - Planfix will set the task due date to December 21, 2012
*'''%21-12-2012''' - Planfix will set the task due date to December 21, 2012


The main advantage to this method is that labels that are set once will work for all objects, including those created in the future. Let's say you have a new employee with the surname '''Bob'''. Right away, you can set them tasks by email if you add '''"@Bob"''' to the email subject
The main advantage to this method is that labels that are set once will work for all objects, including those created in the future. Let's say you have a new employee with the surname '''Bob'''. Right away, you can set them tasks by email if you add '''"@Bob"''' to the email subject
==Tips==
==Tips==
*Labels can be any length and are not restricted to just one symbol. For instance, this lets you set elements of email formatting from other systems as labels, when the data you need comes after the formatting elements.
*Labels can be any length and are not restricted to just one symbol. For instance, this lets you set elements of email formatting from other systems as labels, when the data you need comes after the formatting elements.
*It's a good idea to add an additional "Delete word with label" action to your label rules. Tasks look more polished without traces of your label rules, and this sort of "cleans them up."
*It's a good idea to add an additional [[Delete word with the tag|Delete word with label]] action to your label rules. Tasks look more polished without traces of your label rules, and this sort of "cleans them up."
 


==Go To==
==Go To==
*[[Work in Planfix by means of email]]
*[[Work in Planfix by means of email]]
*[[Feature Description]]
*[[Feature Description]]

Latest revision as of 12:57, 28 October 2024

Note: This article describes an obsolete email rule condition that is only supported for backward compatibility with previously created rules. If you create new rules, we recommend that you use the Contains text condition.


With these conditions, you can set your own labels and process emails with them according to certain rules. While these conditions are similar to those for Contains text, labels allow for more flexibility.

You can create your own set of labels, each of which denotes a particular type of object.

For example:

  • If the Email subject contains a word with the label #, then Select the project with the labeled word;
  • If the Email subject contains a word with the label ~, then Select the assignee with the labeled word;
  • If the Email subject contains a word with the label %, then Set the task due date according to the labeled word

etc.

Once the rules have been set for your labels, you can add the labels to emails sent to a Planfix email address. Planfix will analyze the labels and set the fields you defined for the task created. In the rules, you define only the labels themselves. You can set the words after them as you wish, as long as Planfix can clearly identify what you meant.

As an example, imagine that you entered the rules above and then sent an email with the labels to your address in Planfix. This is how they will be processed:

  • #Energy - Planfix will find the project that contains the word "Energy" in its name and create a task in it.
  • ~John - Planfix will add the employee whose first or last name contains "John" to the assignees of the task
  • %21-12-2012 - Planfix will set the task due date to December 21, 2012

The main advantage to this method is that labels that are set once will work for all objects, including those created in the future. Let's say you have a new employee with the surname Bob. Right away, you can set them tasks by email if you add "@Bob" to the email subject

Tips

  • Labels can be any length and are not restricted to just one symbol. For instance, this lets you set elements of email formatting from other systems as labels, when the data you need comes after the formatting elements.
  • It's a good idea to add an additional Delete word with label action to your label rules. Tasks look more polished without traces of your label rules, and this sort of "cleans them up."

Go To