Title: Data before pipe
Last modified: March 8, 2021

---

# Data before pipe

 *  [prccp](https://wordpress.org/support/users/prccp/)
 * (@prccp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/data-before-pipe/)
 * 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](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/data-before-pipe/#post-14150923)
 * See [Selectable recipient with pipes](https://contactform7.com/selectable-recipient-with-pipes/)
   and [Save submitted messages with Flamingo](https://contactform7.com/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](https://wordpress.org/support/users/prccp/)
 * (@prccp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/data-before-pipe/#post-14151066)
 * 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.

 * ![](https://ps.w.org/flamingo/assets/icon-128x128.png?rev=1540977)
 * [Flamingo](https://wordpress.org/plugins/flamingo/)
 * [Support Threads](https://wordpress.org/support/plugin/flamingo/)
 * [Active Topics](https://wordpress.org/support/plugin/flamingo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flamingo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flamingo/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [prccp](https://wordpress.org/support/users/prccp/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/data-before-pipe/#post-14151066)
 * Status: not resolved