City’s No. 10 doubled her nation’s advantage just after the hour with another remarkable long range effort.
Having already scored from 40 yards earlier in the tournament, the attacker repeated the trick with another audacious chip from distance.
Picking up play inside the centre circle, Castellanos was afforded too much time inside the El Salvador half and, after spotting their goalkeeper off her line, made them pay.
It was Deyna’s fifth goal of the tournament in just four matches, and she currently leads the race for the CAC Women’s Games’ Golden Boot.
Venezuela had taken an early lead through Ysaura Viso, but the hosts set up a nervy finish when Brenda Ceren fired home in second half stoppage time.
Thankfully, Castellanos and co. were able to hold on to progress through to the final.
They will meet Mexico in the showpiece occasion, with kick-off set for 02:30 (UK) on Friday 7 July.