I have made a flow that converts HTML to text from an email. I then split it into an array with newline as seperator
Now the data looks like this:
{
"body": [
"--------------------------------------------------------------------------------",
"Du har nye treff i søket: til 70 kvm, Leilighet, Horten+Tønsberg+Færder, Eiendom",
"[http://images.finncdn.no/dynamic/155h/2022/1/vertical-2/21/9/242/609/909_220404214.jpg]",
"[https://www.finn.no/ad.html?finnkode=245622863&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"Gauterød - Lys leilighet med 2 soverom og balkong i rolig nabolag",
"[https://www.finn.no/ad.html?finnkode=245622863&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"9 800,- Tønsberg",
"GAUTERØDVEIEN 61 D",
"Utleiemeglingen AS",
"[http://images.finncdn.no/dynamic/155h/2021/3/vertical-0/29/4/147/122/004_1306130618.jpg]",
"[https://www.finn.no/ad.html?finnkode=147122004&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"HØY STANDARD SENTRAL ATTRAKTIV BELIGGENHET FULLT MØBLERT PENDLE ELLER",
"FIRMALEILIGHET FLYTT RETT INN",
"[https://www.finn.no/ad.html?finnkode=147122004&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"10 500,- Tønsberg",
"Rambergveien 21",
"Privat",
"[http://images.finncdn.no/dynamic/155h/2022/1/vertical-0/21/5/245/625/265_1407070644.jpg]",
"[https://www.finn.no/ad.html?finnkode=245625265&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"Ledig leilighet i Tønsberg 1.etasje, 3 soverom, delvis møblert.",
"[https://www.finn.no/ad.html?finnkode=245625265&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"11 900,- Tønsberg",
"Borregaten 12",
"Privat",
"[http://images.finncdn.no/dynamic/155h/2022/1/vertical-2/21/0/224/781/050_275977576.jpg]",
"[https://www.finn.no/ad.html?finnkode=245639030&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"2 roms i Tønsberg sentrum",
"[https://www.finn.no/ad.html?finnkode=245639030&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"6 950,- Tønsberg",
"BULLS GATE 5",
"Puma Eiendom AS",
"[http://images.finncdn.no/dynamic/155h/2022/1/vertical-0/21/9/245/662/169_1113019557.jpg]",
"[https://www.finn.no/ad.html?finnkode=245662169&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"Koselig leilighet i Tbg. sentrum",
"[https://www.finn.no/ad.html?finnkode=245662169&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"8 750,- Tønsberg",
"Privat",
"Se annonsene på FINN.no",
"[https://www.finn.no/search/savedsearch?alertId=53861534&alertType=ss&WT.synd_type=agent&finnMail=agent]",
"Stopp e-postvarsling",
"[https://www.finn.no/removenotifications?hash=da73a22182a566e3a2a2fe7fa110f260e507ad2f737faa92df34876ae6faa771&searchid=53861534&alertType=ss&WT.synd_type=agent&finnMail=agent]",
"| Endre søket",
"[https://www.finn.no/savedsearches?alertType=ss&WT.synd_type=agent&finnMail=agent&edit=53861534]",
"| Hjelp [https://hjelpesenter.finn.no/hc/no]",
"Nyhetsbrev fra FINN",
"Lyst på smarte tips, triks og artige oppdateringer i innboksen din? Meld deg på",
"nyhetsbrevet vårt, da vel!",
"Ja, meld meg på",
"[https://www.finn.no/samtykker/innhenting/nyhetsbrev-fra-finn?finnMail=agent]FINN.no",
"[https://static.finncdn.no/_c/static/search-assets/emailsender/newsletter.png]",
"Dette er en automatisk e-post som du ikke kan svare på.",
"FINN.no [https://static.finncdn.no/img/mail/epost_300x98.png]",
"[https://www.finn.no/].",
"© 1996–2022 FINN.no [https://www.finn.no/] AS",
"[https://u14346510.ct.sendgrid.net/wf/open?upn=lLzxDHX05WJu7dB0xAYECjpDRPh2E4j0L9PVZaLwNENewp0hfsW1YQJsIS2pIXKjha7q1YgZZByuULT0yPlQxYPdHEHuyw3Ocm-2BnpzN-2B0zlQkLbVjFUCzO5qGSnb9N-2BqXwe5ys-2BAyScueIeYTxuRlWLWIV2QQIk-2F4a3QOEj6PGqo7lZSKpQsVlnNvEMYzcdGH-2BEAlfrei5l92NBLeh1gHjGrvzPApiVTBAdAgy78XfCRCtu1RWQnr7dJtmAdOUEiMBuFlc8NhtahgKyCGec-2FCg-3D-3D]"
]
}
I am interested in the follow lines to put into an excel document:
"[https://www.finn.no/ad.html?finnkode=147122004&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]",
"10 500,- Tønsberg",
"Rambergveien 21",
"Privat",
However I've tried for hours trying to extract the data I want without luck.
I do not know the syntax for iterating through the array, nor extracting lines from an array. I've tried googling without any success.
What is the best way to solve this? The data wont be the same length every email, but the order will be the same.
This is the raw HTML to text code if that's easier to work with:
--------------------------------------------------------------------------------
FINN.no [https://static.finncdn.no/img/mail/finn_logo_mail.png]
Du har nye treff i søket: til 70 kvm, Leilighet, Horten+Tønsberg+Færder, Eiendom
[http://images.finncdn.no/dynamic/155h/2022/1/vertical-2/21/9/242/609/909_220404214.jpg]
[https://www.finn.no/ad.html?finnkode=245622863&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]
Gauterød - Lys leilighet med 2 soverom og balkong i rolig nabolag
[https://www.finn.no/ad.html?finnkode=245622863&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]
9 800,- Tønsberg
GAUTERØDVEIEN 61 D
Utleiemeglingen AS
[http://images.finncdn.no/dynamic/155h/2021/3/vertical-0/29/4/147/122/004_1306130618.jpg]
[https://www.finn.no/ad.html?finnkode=147122004&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]
HØY STANDARD SENTRAL ATTRAKTIV BELIGGENHET FULLT MØBLERT PENDLE ELLER
FIRMALEILIGHET FLYTT RETT INN
[https://www.finn.no/ad.html?finnkode=147122004&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]
10 500,- Tønsberg
Rambergveien 21
Privat
[http://images.finncdn.no/dynamic/155h/2022/1/vertical-0/21/5/245/625/265_1407070644.jpg]
[https://www.finn.no/ad.html?finnkode=245625265&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]
Ledig leilighet i Tønsberg 1.etasje, 3 soverom, delvis møblert.
[https://www.finn.no/ad.html?finnkode=245625265&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]
11 900,- Tønsberg
Borregaten 12
Privat
[http://images.finncdn.no/dynamic/155h/2022/1/vertical-2/21/0/224/781/050_275977576.jpg]
[https://www.finn.no/ad.html?finnkode=245639030&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]
2 roms i Tønsberg sentrum
[https://www.finn.no/ad.html?finnkode=245639030&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]
6 950,- Tønsberg
BULLS GATE 5
Puma Eiendom AS
[http://images.finncdn.no/dynamic/155h/2022/1/vertical-0/21/9/245/662/169_1113019557.jpg]
[https://www.finn.no/ad.html?finnkode=245662169&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]
Koselig leilighet i Tbg. sentrum
[https://www.finn.no/ad.html?finnkode=245662169&alertType=ss&WT.synd_type=agent&finnMail=agent&stored-id=53861534]
8 750,- Tønsberg
Privat
Se annonsene på FINN.no
[https://www.finn.no/search/savedsearch?alertId=53861534&alertType=ss&WT.synd_type=agent&finnMail=agent]
Stopp e-postvarsling
[https://www.finn.no/removenotifications?hash=da73a22182a566e3a2a2fe7fa110f260e507ad2f737faa92df34876ae6faa771&searchid=53861534&alertType=ss&WT.synd_type=agent&finnMail=agent]
| Endre søket
[https://www.finn.no/savedsearches?alertType=ss&WT.synd_type=agent&finnMail=agent&edit=53861534]
| Hjelp [https://hjelpesenter.finn.no/hc/no]
Nyhetsbrev fra FINN
Lyst på smarte tips, triks og artige oppdateringer i innboksen din? Meld deg på
nyhetsbrevet vårt, da vel!
Ja, meld meg på
[https://www.finn.no/samtykker/innhenting/nyhetsbrev-fra-finn?finnMail=agent]FINN.no
[https://static.finncdn.no/_c/static/search-assets/emailsender/newsletter.png]
Dette er en automatisk e-post som du ikke kan svare på.
FINN.no [https://static.finncdn.no/img/mail/epost_300x98.png]
© 1996–2022 FINN.no [https://www.finn.no/] AS
[https://u14346510.ct.sendgrid.net/wf/open?upn=lLzxDHX05WJu7dB0xAYECjpDRPh2E4j0L9PVZaLwNENewp0hfsW1YQJsIS2pIXKjha7q1YgZZByuULT0yPlQxYPdHEHuyw3Ocm-2BnpzN-2B0zlQkLbVjFUCzO5qGSnb9N-2BqXwe5ys-2BAyScueIeYTxuRlWLWIV2QQIk-2F4a3QOEj6PGqo7lZSKpQsVlnNvEMYzcdGH-2BEAlfrei5l92NBLeh1gHjGrvzPApiVTBAdAgy78XfCRCtu1RWQnr7dJtmAdOUEiMBuFlc8NhtahgKyCGec-2FCg-3D-3D]
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
26 | |
26 | |
24 | |
23 | |
23 |
User | Count |
---|---|
60 | |
45 | |
42 | |
29 | |
29 |