# Salesforce Attributes

On successful integration of the Salesforce, CustomFit displays 3 different Salesforce categories under which we have the various attributes:

* **Salesforce Leads**
* **Salesforce Contact**
* **Salesforce Account**

All the Salesforce attributes can be attached to the visitors as query parameters. To write a rule based on Salesforce attributes

* Click on Add rules

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MXGWUexIDTUUF9AGVc0%2F-MXGimwUMDLR4qXhQ-vX%2Fimage.png?alt=media\&token=bcf6be20-8146-42c8-ad1a-9f0818e9cef4)

* Click on the Attribute field

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaCCP7SUniiWTGwVYYn%2F-MaCKTk3cx7nRs2ETw_l%2Fimage.png?alt=media\&token=f598dfba-27e3-4027-9242-4be9b81c8804)

* In the dropdown, you can see the Salesforce Lead section&#x20;

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaCCP7SUniiWTGwVYYn%2F-MaCKpS5t_Pn7c58XQmZ%2Fimage.png?alt=media\&token=35d32d0e-1440-4173-aaba-e515654d9d10)

**If you select String type property then the supported operation types for String type attributes are:**

#### IS\_ONE\_OF, IS\_NOT\_ONE\_OF    &#x20;

Use this operation type if you want to match each character from start to end. For example, to target the visitors with the Company name as CustomFit.ai. So, the rule will be Company IS\_ONE\_OF CustomFit.ai then, serve them B1 behavior.

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaCCP7SUniiWTGwVYYn%2F-MaCL-lnUJJ_vbG08s_7%2Fimage.png?alt=media\&token=dfb1d3ba-4c51-485b-9bc3-86af5c0218aa)

For example, to target the visitors apart from the CustomFit.ai company. So, the rule will be Company IS\_NOT\_ONE\_OF CustomFit.ai then, serve them B2 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaCCP7SUniiWTGwVYYn%2F-MaCL6ICpnz-nCbh0iyw%2Fimage.png?alt=media\&token=e24658b0-7462-4826-a353-fce2c017ebb5)

#### STARTS\_WITH, DOES\_NOT\_STARTS\_WITH

Use this operation to perform the prefix match with the query parameter value. For example, to target the visitors whose first name starts with Smith. So the rule will be FirstName STARTS\_WITH Smith then, serve them B1 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaCCP7SUniiWTGwVYYn%2F-MaCLRAyzJcF7QpiVRrb%2Fimage.png?alt=media\&token=36a107d0-4775-4c7b-b677-5b81a5518c16)

For example, to target the visitors whose first name does not starts with Smith. So the rule will be FirstName DOES\_NOT\_STARTS\_WITH Smith then, serve them B2 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaCCP7SUniiWTGwVYYn%2F-MaCLZciBLIUJ9oSx45F%2Fimage.png?alt=media\&token=42248638-392b-4338-8e86-86ebd783f6fd)

#### ENDS\_WITH, DOES\_NOT\_ENDS\_WITH

Use this operation to perform the suffix match with the query parameter value. For example, to target the visitors whose Email ends with *ai* domain. So the rule will be Email ENDS\_WITH ai then, serve them B1 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaC_eK4EAq_3_eynHyd%2F-MaCsoR8kggCq7QeyVX2%2Fimage.png?alt=media\&token=c9416a84-8ec8-4705-9d27-bd7ade7680f0)

For example, to target the visitors whose Email does not ends with *ai* domain. So the rule will be Email DOES\_NOT\_ENDS\_WITH ai then, serve them B2 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaC_eK4EAq_3_eynHyd%2F-MaCszVpAxhRTKnq67dv%2Fimage.png?alt=media\&token=1448eb42-ba9a-479a-9b0d-749311db9a19)

#### CONTAINS, DOES\_NOT\_CONTAINS

Use this operation to perform the substring match with the query parameter value.

For example, to target the visitors whose DATA\_QUALITY\_DESCRIPTION\_\_C contains rating. So the rule will be DATA\_QUALITY\_DESCRIPTION\_\_C CONTAINS rating then, serve them B1 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaC_eK4EAq_3_eynHyd%2F-MaCtKdyXKxk-vZp3LL2%2Fimage.png?alt=media\&token=7389db9a-023b-4a19-81db-1edba528d9c2)

For example, to target the visitors whose DATA\_QUALITY\_DESCRIPTION\_\_C does not contains rating. So the rule will be DATA\_QUALITY\_DESCRIPTION\_\_C DOES\_NOT\_CONTAINS rating then, serve them B2 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaC_eK4EAq_3_eynHyd%2F-MaCtSgJlmZqJReFIuLm%2Fimage.png?alt=media\&token=aa7654ba-cff2-4575-90cf-fa4b1ac1ec2f)

#### IS\_SET, IS\_NOT\_SET

Use this operation to check whether the query parameter value has been set or not. For example, to target the visitors whose cleanstatus is known to us. So, the rule will be CleanStatus IS\_SET then, serve them B1 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaC_eK4EAq_3_eynHyd%2F-MaCtdzzm3Bmw0DFbLe1%2Fimage.png?alt=media\&token=91f0ad13-d70d-4c1e-9c3a-9144592e7d1e)

For example, to target the visitors whose cleanstatus is not known to us. So, the rule will be CleanStatus IS\_NOT\_SET then, serve them B2 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaC_eK4EAq_3_eynHyd%2F-MaCtw6Fn3RnpoPGzix0%2Fimage.png?alt=media\&token=9aa416e8-f0e9-4713-8178-1e4af0727e4b)

**If you select Number type property then the supported operation types for Number type attributes are:**

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MaC_eK4EAq_3_eynHyd%2F-MaCtmR6Jr-LXYUU0FYH%2Fimage.png?alt=media\&token=31584560-e711-46f5-92d8-bde61b4b753a)

####

#### IS\_ONE\_OF, IS\_NOT\_ONE\_OF

Use this operation type if you want to target the visitors whose DATA\_QUALITY\_SCORE\_\_C is 1. So, the rule will be DATA\_QUALITY\_SCORE\_\_C IS\_ONE\_OF 1 then, serve them B1 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MatNAZinzynaHBQGRNB%2F-MatOqNBpj1N9I0093Wo%2Fimage.png?alt=media\&token=4a6cf642-1972-47c3-87d4-c02e7e88c94b)

For example, if you want to target the visitors whose DATA\_QUALITY\_SCORE\_\_C is not 1. So, the rule will be DATA\_QUALITY\_SCORE\_\_C IS\_NOT\_ONE\_OF 1 then, serve them B2 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MatNAZinzynaHBQGRNB%2F-MatP8GZBCGEfiHHZ0k5%2Fimage.png?alt=media\&token=3bc8b516-0e4a-42ae-ae31-8fc2a87eeed6)

#### GREATER\_THAN, GREATER\_THAN\_OR\_EQUAL\_TO

Use this operation type if you want to target visitors whose  DATA\_QUALITY\_SCORE\_\_C is greater than 0. So,  DATA\_QUALITY\_SCORE\_\_C is GREATER\_THAN 0  then, serve them B1 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MatNAZinzynaHBQGRNB%2F-MatPlVUL43AVvHLvTlr%2Fimage.png?alt=media\&token=cd1f1862-bf91-4161-b123-e5e2aebb5be0)

For example, if you want to target visitors whose DATA\_QUALITY\_SCORE\_\_C is greater than or equal to 0. So,  DATA\_QUALITY\_SCORE\_\_C is GREATER\_THAN\_OR\_EQUAL\_TO 0  then, serve them B2 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MatNAZinzynaHBQGRNB%2F-MatPd9bfnmbh0XoJW4I%2Fimage.png?alt=media\&token=d9bc1dfa-418b-489a-b19c-adac1ba9801e)

#### LESS\_THAN, LESS\_THAN\_OR\_EQUAL\_TO

Use this operation type if you want to target visitors whose DATA\_QUALITY\_SCORE\_\_C  is less than 1. So, the rule will be DATA\_QUALITY\_SCORE\_\_C  LESS\_THAN 1 then, serve them B1 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MatNAZinzynaHBQGRNB%2F-MatSJj8YzIdFJuvwOo_%2Fimage.png?alt=media\&token=122cc1e2-abb7-491a-b0d0-18b14debdb68)

For example, if you want to target visitors whose DATA\_QUALITY\_SCORE\_\_C  is less than or equal to 1 year. So, the rule will be DATA\_QUALITY\_SCORE\_\_C  LESS\_THAN\_OR\_EQUAL\_TO 1 then, serve them B2 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MatNAZinzynaHBQGRNB%2F-MatS_rLtXSZuuyBrdm-%2Fimage.png?alt=media\&token=77d4f01f-b2a9-4fb1-8954-b051a50d8a82)

#### IS\_SET, IS\_NOT\_SET

Use this operation to check whether the query parameter value has been set or not. For example, to target the visitors whose DATA\_QUALITY\_SCORE\_\_C  is known to us. So, the rule will be DATA\_QUALITY\_SCORE\_\_C  IS\_SET then, serve them B1 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MatNAZinzynaHBQGRNB%2F-MatT051GjwD7qxzBs1P%2Fimage.png?alt=media\&token=2c324c90-5cc4-4e82-861e-12aebd40fbd6)

For example, to target the visitors whose DATA\_QUALITY\_SCORE\_\_C  is not known to us. So, the rule will be DATA\_QUALITY\_SCORE\_\_C  IS\_NOT\_SET then, serve them B2 behavior

![](https://1136256215-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUgAFLO61VraHX8jwLt%2F-MatNAZinzynaHBQGRNB%2F-MatSmv-WQ6LlHXGy2Gr%2Fimage.png?alt=media\&token=f1fbf634-000b-494f-9885-310aa5323cd2)

For reference,  click on the link to know the list of Salesforce properties wrt Leads, Contact, and Account.

<https://developer.salesforce.com/docs/atlas.en-us.sfFieldRef.meta/sfFieldRef/salesforce_field_reference_Lead.htm>
