Title: Notify Admin on Mapping Error
Last modified: July 1, 2021

---

# Notify Admin on Mapping Error

 *  Resolved [fortafy](https://wordpress.org/support/users/fortafy/)
 * (@fortafy)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/notify-admin-on-mapping-error/)
 * Is it possible to notify the WordPress Admin and/or a designated email when there
   is a mapping error? This seems to fail silently.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/notify-admin-on-mapping-error/#post-14617595)
 * Currently this is not possible. It might be something that could be added as 
   an option, or provide a developer hook that you could use to build it as an add-
   on, but definitely neither of those exists at this time. I’d be willing to consider
   a pull request for this if you’d want to build it.
 *  Thread Starter [fortafy](https://wordpress.org/support/users/fortafy/)
 * (@fortafy)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/notify-admin-on-mapping-error/#post-14694425)
 * How much would you charge to develop this into the product? I use Object Sync
   in multiple environments and this would be very, very useful. Thanks.
 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/notify-admin-on-mapping-error/#post-14694467)
 * I think you’d be better off building an add if you have that capacity. The plugin
   already has a logging system, and the logging system itself has an action that
   runs whenever a log entry is created.
 * The plugin runs: `do_action( 'wp_post_insert_log', $log_id );`
 * You could do something like:
 *     ```
       add_action( 'wp_post_insert_log', 'myfunction' );
       function myfunction( $log_id ) {
       $log = get_post( $log_id );
       // write some code here to email the log entry wherever you want it to go
       }
       ```
   
 * I don’t think I would build this into the plugin because email is complicated
   to support in a broad way with formatting and spam and I don’t think that’s a
   good use of this plugin’s capacity. But an add-on seems like something that wouldn’t
   be super hard for a WP developer to build for you, if you don’t have one.
 *  Thread Starter [fortafy](https://wordpress.org/support/users/fortafy/)
 * (@fortafy)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/notify-admin-on-mapping-error/#post-14694533)
 * Thanks Jonathan. I will seek out a developer to build this. Getting alerted when
   there’s a mapping error is a definite need — whether an email or something with
   the WordPress dashboard. Currently it’s a daily reminder to go make sure nothing
   unexpected happened.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Notify Admin on Mapping Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/object-sync-for-salesforce.svg)
 * [Object Sync for Salesforce](https://wordpress.org/plugins/object-sync-for-salesforce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/object-sync-for-salesforce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/object-sync-for-salesforce/)
 * [Active Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/object-sync-for-salesforce/reviews/)

## Tags

 * [new feature](https://wordpress.org/support/topic-tag/new-feature/)

 * 4 replies
 * 2 participants
 * Last reply from: [fortafy](https://wordpress.org/support/users/fortafy/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/notify-admin-on-mapping-error/#post-14694533)
 * Status: resolved