📋 Overview
NexaForce for WooCommerce is a production-ready integration that seamlessly syncs your WooCommerce store with Salesforce CRM. It features a visual feed builder, real-time sync triggers, conditional logic, and comprehensive logging.
🔄 Real-time Sync
Automatically sync data when WooCommerce events occur (orders, customers, products, reviews, coupons).
🎨 Visual Feed Builder
Create unlimited sync feeds with drag-and-drop field mapping and conditional logic.
📊 Bulk Sync
Sync historical data in batches with progress tracking and detailed logs.
🔒 Secure OAuth
Connect to Salesforce Production and Sandbox environments using OAuth 2.0.
Supported Events
| Category | Events |
|---|---|
| Orders | Order Placed, Status Changed, Completed, Refunded |
| Customers | Customer Created, Customer Updated |
| Products | Product Created, Updated, Out of Stock, Imported |
| Reviews | Review Posted, Review Updated |
| Coupons | Coupon Created, Coupon Updated |
⚙️ Requirements
- WordPress: 6.0 or higher (Tested up to 7.0)
- PHP: 7.4 or higher
- WooCommerce: 7.0 or higher
- Salesforce: Account with API access
📦 Installation
Automatic Installation
- Log in to your WordPress admin panel
- Navigate to Plugins → Add New
- Search for "NexaForce for WooCommerce"
- Click "Install Now" and then "Activate"
Manual Installation
- Download the plugin ZIP file
- Go to Plugins → Add New → Upload Plugin
- Choose the ZIP file and click "Install Now"
- Click "Activate" after installation completes
🔌 Salesforce Setup
Step 1: Create Salesforce Connected App
- Log in to Salesforce
- Go to Setup → App Manager
- Click "New Connected App"
- Fill in the required fields:
- Connected App Name: NexaForce WooCommerce
- API Name: NexaForce_WooCommerce
- Contact Email: Your email
- Enable OAuth Settings
- Add these OAuth Scopes:
fullrefresh_token
- Set Callback URL to:
https://your-site.com/wp-admin/admin-post.php?action=nexaforce_oauth_callback - Save and copy the Consumer Key and Consumer Secret
Step 2: Connect to Salesforce
- In WordPress, go to NexaForce → Settings → Connection
- Select your environment (Production or Sandbox)
- Enter your Consumer Key and Consumer Secret
- Click "Connect to Salesforce"
- Authorize the connection in Salesforce
- You'll be redirected back with a success message
📝 Creating Your First Feed
Feeds define how data flows from WooCommerce to Salesforce. Each feed maps WooCommerce fields to Salesforce fields for a specific event.
Feed Sections
1. Feed Details
- Feed Title: Descriptive name for your feed
- Select Object: Choose the Salesforce object to sync to
2. Map Fields
Map WooCommerce fields to Salesforce fields using three field types:
- Standard Value: Select from available WooCommerce fields
- Custom Value: Use merge tags like
{billing_email} - Static Value: Enter a fixed value
3. Primary Field (for Upsert)
Select a Salesforce field to use for deduplication. When using "Upsert" sync type, existing records matching this field will be updated instead of creating duplicates.
4. Select Event
Choose which WooCommerce event triggers this feed:
- Order Placed, Status Changed, Completed, Refunded
- Customer Created, Customer Updated
- Product Created, Updated, Out of Stock
- Review Posted
- Coupon Created, Updated
5. Conditional Statements
Add conditions to control when the feed processes:
- Operators: is, is not, contains, greater than, less than, is empty, is not empty
- Logic: Match ALL conditions (AND) or Match ANY condition (OR)
Example: Only sync orders with total greater than $100
6. Date Range (for Bulk Sync)
Optionally filter which records to sync based on date range.
📊 Bulk Sync Historical Data
The Bulk Sync feature allows you to sync existing WooCommerce data to Salesforce.
How to Use Bulk Sync
- Go to NexaForce → Bulk Sync
- Select the Object Type (Orders, Customers, Products, Coupons)
- Choose a Feed to use for syncing
- Optionally set a Date Range
- Click "Start Bulk Sync"
- Monitor progress in real-time
⭐ Pro Features
Upgrade to NexaForce Pro to unlock advanced capabilities:
🤖 AI Field Mapping
Let AI suggest optimal field mappings based on your Salesforce and WooCommerce data.
💬 AI Feed Generator
Describe what you want in natural language and let AI create the complete feed configuration.
💰 Multi-Currency
Sync orders with CurrencyIsoCode for multi-currency WooCommerce stores.
📚 PriceBooks
Map WooCommerce products to Salesforce Pricebooks and create PricebookEntry records.
🎯 Opportunities
Automatically create Salesforce Opportunities from WooCommerce orders with stage mapping.
🔄 Subscriptions
Full support for WooCommerce Subscriptions plugin with all subscription events.
Accessing Pro Features
In the free plugin, navigate to NexaForce → Extend The Features to view all Pro features and upgrade options. Once you purchase and install Pro, all Pro features will be unlocked automatically.
🚀 Extend The Features (Pro Upgrade)
The Extend The Features page in your WordPress admin shows all Pro features and provides a direct path to upgrade your installation.
How to Upgrade
- In WordPress admin, go to NexaForce → Extend The Features
- Review all Pro features and pricing options
- Click "Get NexaForce Pro Now" to purchase
- Download the Pro plugin ZIP file from your ThemeFreex account
- Upload and activate the Pro plugin
- Enter your license key to activate Pro features
🔧 Troubleshooting
Connection Issues
| Problem | Solution |
|---|---|
| Cannot connect to Salesforce | Verify Consumer Key and Secret are correct. Check that Callback URL is set correctly in Connected App. |
| Token expired error | Tokens auto-refresh. If issues persist, disconnect and reconnect. |
| Invalid OAuth scope | Ensure your Connected App has "full" and "refresh_token" scopes. |
Sync Issues
| Problem | Solution |
|---|---|
| Sync fails with validation error | Check that required Salesforce fields are mapped. Review sync log for details. |
| Duplicate records created | Use "Upsert" sync type with a Primary Field for deduplication. |
| Feed not triggering | Verify feed is Active and the correct Event is selected. Check conditions. |
| Field mapping not working | Ensure field types are compatible. Check field length limits. |
Enabling Debug Mode
To enable detailed logging:
- Go to NexaForce → Settings → Advanced
- Enable Debug Mode
- Logs will be written to
wp-content/debug.log
📞 Support & Resources
Getting Help
- Documentation: You're reading it!
- WordPress.org Forum: Free support for free version
- Email Support: support@codefreex.com (Pro customers)
- Priority Support: Available for Pro license holders