0.2.2 • Published 3 months ago
n8n-nodes-d7-messaging v0.2.2
D7Networks Messaging Integration for n8n
Installation
1. Install D7Networks Node
- Open your n8n workspace
- Click on Settings (⚙️) in the bottom left corner
- Select Community Nodes from the sidebar
- Search for
n8n-nodes-d7-messaging
- Click Install
- Restart n8n when prompted
2. Verify Installation
- Refresh your n8n workspace
- Open the nodes panel (right sidebar)
- Search for "D7"
- You should see "D7 SMS" and "D7 WhatsApp" nodes
- Try dragging either node into your workflow
3. Configure Authentication
- Get your API key from D7 Networks
- In your n8n workflow:
- Add D7 SMS or D7 WhatsApp node
- Click "Create New Credential"
- Enter your API key
- Save credential
Creating Messaging Workflows
Basic Workflow Structure
[Contact Source] → [Function Node] → [D7 SMS/WhatsApp Node]
Step 1: Import Contacts
Choose any contact source node:
- Google Sheets
- Airtable
- Database nodes
- Google Contacts
- CSV
- Any CRM integration
Step 2: Process Contact Data
Add a Function node to format your contacts:
// Format contacts for D7 nodes
return items.map(item => ({
json: {
recipient: item.json.phone, // or any field containing phone number
name: item.json.name, // or any field containing name
}
}));
Step 3: Configure D7 Node
For SMS:
- Connect Function node to D7 SMS node
- Configure fields:
- Recipients:
{{ $json.recipient }}
- Message:
Hello {{ $json.name }}, your message here
- Recipients:
For WhatsApp:
- Connect Function node to D7 WhatsApp node
- Configure fields:
- Recipients:
{{ $json.recipient }}
- Choose message type (Template/Text/Media)
- Add message content or template parameters
- Recipients:
Testing Your Workflow
- Start with test contacts (2-3 numbers)
- Activate workflow
- Check message delivery
- Monitor for any errors
- Scale up after successful testing
Common Issues & Solutions
Invalid Phone Numbers
- Ensure numbers are in E.164 format
- Add validation in Function node:
// Phone number validation
function validatePhone(phone) {
const cleaned = phone.replace(/\D/g, '');
return cleaned.startsWith('+') ? cleaned : '+' + cleaned;
}
Message Delivery Issues
- Verify API credentials
- Check recipient number format
- Ensure sufficient credit balance
Need help? Contact
Support
- Email: support@d7networks.com
- Website: Visit Our Website
Would you like me to expand on any of these sections or add more specific workflow examples?