This is the same issue as in your other thread here: Reporting on Leads/Contacts not making it into Salesforce Campaign
But I really to not understand what you mean by "tokenizing the action". Can you elaborate more?
There are some program tokens that have a "SFDC campaign" type. You can use them as the campaign in an "add to SFDC campaign" flow step. But this is not going to suppress the error, which comes from SFDC. You could also use a lead field that contains a Campaign SFDC ID (18 digits) and use this field as a lead token in to set the campaign in this same flow step.
Kristina is looking for getting all the leads that (were sent to be added to ANY SFDC campaign) but were not added to SFDC campaign successfully due to any reason like SFDC returning error, it seems. Thus 'which' SFDC campaign is 'ANY' and not only for a specific named SFDC campaign.
Like, writing a 'central' smart list like,
Additionally, we should have an ability to write a smart list that have filter like,
Leads that were,
Added to SFDC but failed to be added.
with possible constraints of error text.
Or at least a way to store the error we get from SFDC to a Lead field. So we can write smart lists ourselves in Marketo.
Also, an ability to use tokens in a flow action step like this might help,,, But that is not available right now.
Greg, I will add these to you product idea...
Or, Do we have any way to achieve these things as the way Marketo works right now...
If fact, even if the possibility existed, I am not sure it would give you especially the people you tried to add but for which the flow step failed.
But using tokens in filter operators or constraints is not possible and has been requested for quite some time. See Tokens on Steroïds