Hi @chrisingh42188 ,
If you save the name the .pdf file with email address, please refer to screenshot below to create the flow:

The expression in the Compose 2 as below:
first(split(outputs('Compose'),'.pdf'))
Please let me know if your problem could be solved.
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.