• I’ve already searched my problem and found two other topics not addressed from years ago, so I’ll start a new thread hoping this time we can get an answer.

    I have a ‘subject’ field sending the email to different addresses via pipes depending on the topic, but when Flamingo stores that data I only get the e-mail, not the subject. I could guide myself based on the e-mail and guess the subject, but:
    1) E-mails change from time to time (usually monthly as people come and go);
    2) Different subjects sometimes send e-mails the same address as one person supports different subjects.

    So is there a way to tell Flamingo to store data from before the pipes and not after?
    Thanks a lot for your time and patience!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    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!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Data before pipe’ is closed to new replies.