Event Social Module
Auto-post events to social media with templates and smart scheduling.
Event Social module integrates automatic social media posting for events in Odoo.
Combines Event (event management) and Social (social media management) to create, schedule, and track posts on Facebook, Twitter, LinkedIn, Instagram.
Key Features
Key points
• Auto-post events to multiple social media platforms.
• Create post templates with dynamic variables (event name, date, location).
• Schedule posts by specific event or event type.
• Support Facebook, Twitter, LinkedIn, Instagram.
• Track post status and engagement performance.
• Automate posting workflow when creating new events.
Core EN/VI Terminology
| Fields | Trường dữ liệu | Description |
|---|---|---|
| Social Media | Mạng xã hội | Platforms like Facebook, Twitter, LinkedIn, Instagram. |
| Social Account | Tài khoản mạng xã hội | Connected account for auto-posting. |
| Social Post | Bài đăng mạng xã hội | Content posted to social media. |
| Post Template | Mẫu bài đăng | Pre-made content template with dynamic variables. |
| Scheduled Post | Bài đăng đã lên lịch | Post scheduled automatically per event. |
| Event Type | Loại sự kiện | Event classification (conference, workshop, webinar). |
| Social Stream | Luồng mạng xã hội | Channel for tracking posts and engagement. |
| Engagement | Tương tác | Likes, comments, shares on posts. |
Configure Social Media Accounts
Before auto-posting, connect social media accounts to Odoo via OAuth or API token.
Key points
• Facebook: Requires pages_manage_posts and pages_read_engagement permissions.
• Twitter: Requires API key and access token from Twitter Developer Portal.
• LinkedIn: Requires w_member_social and r_organization_social permissions.
• Instagram: Connect via Facebook Business Account.
Steps
1. Go to Social Marketing → Configuration → Social Accounts.
2. Click New and select platform (Facebook, Twitter, LinkedIn, Instagram).
3. Click Authorize to connect account via OAuth.
4. After successful authorization, account shows Connected status.
5. Check posting and content management permissions.
Create Social Media Post Templates
Post templates automate content with dynamic variables from events like name, date, location.
Key points
• Common variables: {{event.name}}, {{event.date_begin}}, {{event.organizer_id.name}}, {{event.website_url}}.
• Use hashtags to increase engagement: #Event #Workshop #Webinar.
• Create multiple templates for different event types.
Steps
1. Go to Social Marketing → Configuration → Post Templates.
2. Click New and fill Template Name.
3. Select Social Accounts to apply template.
4. Write post content with variables: {{event.name}}, {{event.date_begin}}, {{event.address_id.city}}.
5. Add default image or use {{event.cover_image}}.
6. Save template for event use.
Schedule Posts for Events
Schedule automatic posts when creating or updating events.
Key points
• Post before event: 7 days, 3 days, 1 day for reminders.
• Post after event: Thank attendees, share photos.
• View status: Scheduled, Posted, Failed.
Steps
1. Open event in Events → Events.
2. Go to Social Media tab.
3. Click Add a line to create new post.
4. Select Post Template or write manual content.
5. Select Social Accounts for posting.
6. Set Scheduled Date (before/after event date).
7. Click Schedule Post to schedule.
Schedule Posts for Event Types
Auto-apply post templates to all events of same type.
Key points
• All new events of this type will auto-create posts per rules.
• Can customize posts for specific events.
• Use for recurring events or event series.
Steps
1. Go to Events → Configuration → Event Types.
2. Open event type to configure.
3. Go to Social Media tab.
4. Click Add a line to add posting rule.
5. Select Post Template and Social Accounts.
6. Set Trigger: On Event Creation, X Days Before Event, On Event Confirmation.
7. Save configuration.
Track and Manage Posts
Key points
• Go to Social Marketing → Posts to view all posts.
• Filter by status: Scheduled, Posted, Failed.
• View post details: content, images, accounts, timing.
• Track engagement: likes, comments, shares, reach.
• Edit scheduled posts before posting.
• Cancel or repost failed posts.
Automate Posting Workflow
Use Automated Actions to fully automate posting workflow.
Key points
• Auto-post when event is confirmed.
• Auto-remind before event with scheduled actions.
• Auto-thank after event.
Steps
1. Go to Settings → Technical → Automation → Automated Actions.
2. Click New and name: Auto Post Event to Social Media.
3. Select Model: Event (event.event).
4. Set Trigger: On Creation, On Update (state = confirmed).
5. In Actions tab, select Execute Python Code.
6. Write code to auto-create posts from templates.
7. Save and activate automation.
Best Practices
Key points
• Create post templates for each event type to save time.
• Schedule multiple posts: before, during, after event.
• Use appropriate hashtags to increase engagement.
• Check social account permissions regularly.
• Track post performance to optimize content.
• Create automation for recurring events.
• Use high-quality images from events.
• Customize content for each social platform.
Troubleshooting Common Issues
Errors and Solutions
| Error | Cause | Solution |
|---|---|---|
| Post Failed | Token expired or insufficient permissions | Reconnect account and check permissions. |
| Template Error | Variable does not exist | Check variable syntax: {{event.field_name}}. |
| Image Upload Failed | Image size too large | Compress image or use different format. |
| Duplicate Post | Post already created previously | Check post history before creating new. |
| Account Disconnected | Account permissions revoked | Re-authorize account in Social Accounts. |
Integration with Other Modules
Key points
• Event: Auto-post when creating or updating events.
• Website: Display social media posts on event pages.
• Email Marketing: Combine email and social media for campaigns.
• CRM: Track leads from social media posts.
• Marketing Automation: Create multi-channel marketing workflows.
User Groups and Permissions
Access Control
| Group | Main Permissions |
|---|---|
| Social Media User | View posts, create manual posts, schedule for events. |
| Social Media Manager | Full access: manage accounts, create templates, configure automation, view analytics. |