Action potentials are a bit funny. They're not actually movements of electrons down a wire like we're used to thinking about, but rather propagating waves of changes in the way cellular pumps move heavy ions through the cell membrane. Action potentials provide essentially no long-distance current, for example.
If you applied 15 mV across the SA node (the heart's built in pacemaker) at just the right time in the cardiac sequence you might be able to interfere enough to stop the organized contraction. There's a lab at my university that's been looking at analyzing chaotic heart contractions in order to use very small, very well-timed pacemaker signals, to correct them.
You would absolutely have to do it internally though ("applied directly to the heart"). The human body is basically a bag of salt water, which conducts quite well (about 300 Ohm from head to toe IIRC) surrounded by skin, which is a pretty good insulator. So if you want to electrocute someone, stab the electrodes in first.