sdamceski
Member
- Your Task History ID
- IjU3NjMwNTY1MDYzMzA0MzU1MjZlNTUzNzUxMzQ1MTYzNTQzMiI_3D_pc
I'm have a workflow where an lead email is received in the Pabbly Email Parser in adf format. That is also the trigger of this workflow. Then we use text formatter/text parser to extract specific information in our example is the lead information which is First Name, Last Name, Phone Number, Email address etc.... and then we use LeadConnector V2 to create/update contact in GHL.
The lead source send the email in adf format that is captures by pabbly, in our example we noticed a problem. The phone number of the prospect is provided in this format "<phone type="home">(740) 253-6483</phone>" What we do is we use the text formater/text parser to extract the phone number. In the
Text match: after, we enter <phone type="home"> and in Text match: before, we enter </phone>. The text parser then works perfect. But sometimes the lead source email instead of "<phone type="home">(740) 253-6483</phone>" it comes as follow "<phone>(740) 253-6483</phone>". In this case the text formatter/text parser extract everything before </phone> in that body text of the e-mail so its very large text. And then this workflow fails when LeadConnector V2 with a message "The string supplied is too long to be a phone number" since the message body for the phone number field is too long when it tried to create new contact.
So I was trying to find a good solution for this. I thought that if the step for extracting the phone number should fail since it cannot find any field that is "<phone type="home">" it should fail instead of pulling everything before </phone>. If it would fail there I could use the Ignore Error function for this step and have another step right after this that will recapture the phone number if the phone information was like this <phone>(740) 253-6483</phone>. And I could use a filter to ignore the second capture if the firstone is exicuted.
So im looking for some help and good solution for this. Thank you.
The lead source send the email in adf format that is captures by pabbly, in our example we noticed a problem. The phone number of the prospect is provided in this format "<phone type="home">(740) 253-6483</phone>" What we do is we use the text formater/text parser to extract the phone number. In the
Text match: after, we enter <phone type="home"> and in Text match: before, we enter </phone>. The text parser then works perfect. But sometimes the lead source email instead of "<phone type="home">(740) 253-6483</phone>" it comes as follow "<phone>(740) 253-6483</phone>". In this case the text formatter/text parser extract everything before </phone> in that body text of the e-mail so its very large text. And then this workflow fails when LeadConnector V2 with a message "The string supplied is too long to be a phone number" since the message body for the phone number field is too long when it tried to create new contact.
So I was trying to find a good solution for this. I thought that if the step for extracting the phone number should fail since it cannot find any field that is "<phone type="home">" it should fail instead of pulling everything before </phone>. If it would fail there I could use the Ignore Error function for this step and have another step right after this that will recapture the phone number if the phone information was like this <phone>(740) 253-6483</phone>. And I could use a filter to ignore the second capture if the firstone is exicuted.
So im looking for some help and good solution for this. Thank you.