TVP, the Polish broadcaster, announced on 16th April that the country would be present at the second edition of The Origin Song Contest. As host country of the first edition and one of the countries instrumental in the original launch of the contest, this confirmation was highly expected. In addition to the confirmation of participation, it was also revealed that a national selection, titled Piosenka dla Finlandii, would take place to select the country's entry.
Piosenka dla Finlandii was the first edition of the Polish music competition Piosenka dla which selected the country's entry for The Origin Song Contest 02. Hosted by Anna Popek, who co-hosted the first edition of The Origin Song Contest, five songs competed in the selection, which consisted of a final and a superfinal. The final took place on 14th May 2017 and the superfinal on the 28th. Both events were held at the TVP Studio in Warsaw.
The top two songs from the first round of voting, "Zagadka" and "Zrób To!" advanced to a superfinal. The winner was decided by televoting. Despite placing 2nd in the final, Lanberry was the winner with 51.62% of the votes. The Polish OGAO club selected Ewelina as their representative for the OGAO Second Chance Contest 02, where she placed 3rd with 77 points.
On 2nd June 2017, the semi-final allocation draw took place at the Radisson Blu hotel in Espoo, where the heads of delegation of the participating countries met to discuss the upcoming contest, and also where the countries would be allocated into halves of the two semi-finals. Poland was allocated into the first half of the second semi-final.
The betting odds for the edition placed Poland third place out of the thirty-five participating countries with odds of 2.76. This placed Poland between Norway and the Netherlands in the betting odds.
On 9th June 2017, the running order for the contest was revealed. This edition, the running order was decided by the OBU, but to avoid bias, the position of Poland was decided randomly. Lanberry was drawn to perform in fifth position in the second semi-final, preceded by Denmark and followed by Andorra.
Following the completion of the final lineup, the running order for the final was revealed, with Poland performing eleventh, preceded by Belgium and followed by the United Kingdom. The country achieved twelfth place with 52 points, placing ninth in positive voting with 94 points, and last in the negative voting with -42 points. Following the final results, it was revealed Poland placed fifth in the semi final with 82 points.