You know the id of the form from the shortcode, you can do stuff just for that particular form. Here’s some sample code for that, just replace $myform_id
with your form id:
add_action( 'wpcf7_mail_sent', 'wp190913_wpcf7' );
/**
* Do stuff for my contact form form. This function shouldn't return aything
*
* @param WPCF7_ContactForm $contact_form wpcf7 object, passed by refference
*/
function wp190913_wpcf7( $contact_form ) {
// Not my desired form? bail
if ( $contact_form->id !== $myform_id )
return;
// Do stuff for my contact form
}