Question

Ignore the commas after parsing

  • 6 February 2023
  • 4 replies
  • 65 views

Hi All,

We have some multipicklist values with commas in it and they are separated using the semicolons sent as an email, but after parsing the data through the mailbox, the zap action which is to create leads in Salesforce is splitting the commas to picklists which is causing issues. If there are no commas in the input data then it is working as expected the picklist were created only using semicolons.

is there any way of ignoring the commas? 

Example Input data before parser
Toys, Games & Novelty ; Baby ; Other ;

 

The mail parser is picking up everything but,

Current Output data
1:    Toys
2:    Games & Novelty ;
3:    Baby ; 
4:    Other ;

 

The Expected output
1:    Toys, Games & Novelty ;
2:    Baby ; 
3:    Other ;



Any help is much appreciated.

Thanks 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Userlevel 7
Badge +14

Hi @SalesforceSuppor 

Good question.

For us to have context, please post detailed screenshots with how your Zap steps are configured, thanks.

Thanks Troy,

Zap set up is very basic, trigger from the email and then Action to create Leads in Salesfroce. 
 



When you test this Zap, you can see the categories are already broken down based on commas.


Here the original categories are 
Jewellery, Bags & Accessories
Office, Music & media
Adult


Here is an example of a successful zap where there are no commas in the categories.

 
 

Hi All,

We have some multipicklist values with commas in it and they are separated using the semicolons sent as an email, but after parsing the data through the mailbox, the zap action which is to create leads in Salesforce is splitting the commas to picklists which is causing issues. If there are no commas in the input data then it is working as expected the picklist were created only using semicolons.

is there any way of ignoring the commas? 

Example Input data before parser
Toys, Games & Novelty ; Baby ; Other ;

 

The mail parser is picking up everything but,

Current Output data
1:    Toys
2:    Games & Novelty ;
3:    Baby ; 
4:    Other ;

 

The Expected output
1:    Toys, Games & Novelty ; Baby ; Other ;



Any help is much appreciated.

Thanks 

 

Userlevel 7
Badge +14

@SalesforceSuppor 

Some alternatives:

  1. Use a different email parsing app, such as Mailparser
  2. Use a Code step in the Zap to do email parsing