See Selectable recipient with pipes and Save submitted messages with Flamingo.
Flamingo doesn’t store the data before the pipe, but you can set the Subject field of an inbound message to [_raw_{field name}].
Thread Starter
prccp
(@prccp)
Thank you for replying so fast.
I already did that for the subject of the e-mail sent, but Flamingo doesn´t get the subject from the form, it gets from the “[your-subject]” field. And since my subject can come from different ‘selects’ (because I’m also using ‘Contact Form 7 – Conditional Fields’) I can’t use the ‘[your-subject]’ statically.
This is my subject right now:
[_raw_assunto002][_raw_assuntoACMV][_raw_assuntoBanorteII][_raw_assuntoUBBPrev][_raw_assuntoAposentadoriaPrincipalItau][_raw_assuntoAposentadoriaSuplementarItau][_raw_assuntoBeneficioDefinidoItaucard][_raw_assuntoContribuicaoVariavelItaucard][_raw_assuntoFranprev][_raw_assuntoFuturoInteligente][_raw_assuntoItaubancoCD][_raw_assuntoItaubank][_raw_assuntoItaulamBasico][_raw_assuntoItaulamSuplementar][_raw_assuntoPAC][_raw_assuntoPrebeg][_raw_assuntoPrevidenciaRedecardCD]
Depending on a previous selection one of those selections open up and you select the subject you want. So only one will be filled and the others will be empty. I would use the same name for all the ‘selects’ and just set it as [your-subject], but then only the last one would be valid and get sent while the others would be ignored.
I’ve tried different approaches, but all of them has an issue, this one is the best one so far, but if I want to check Flamingo for an e-mail in case it gets lost, I don’t know what people will have selected for the subject.
Do you think I can get around this in any way?
Thanks in advance!