727/904 kickdown with throttle by wire???

I was pondering my build and began to wonder how one would make a 727 or 904 kickdown if using a throttle by wire throttle body and electronic pedal.

Has anyone done this yet? Do any of you know a solution? Please post links if you can.

Thanks!
Martin