Files
chatwoot/app/javascript/dashboard/components-next/Campaigns/EmptyState/CampaignEmptyStateContent.js
T
2025-05-05 23:50:34 -07:00

324 lines
9.1 KiB
JavaScript

export const ONGOING_CAMPAIGN_EMPTY_STATE_CONTENT = [
{
id: 1,
title: 'Chatbot Assistance',
inbox: {
id: 2,
name: 'PaperLayer Website',
channel_type: 'Channel::WebWidget',
phone_number: '',
},
sender: {
id: 1,
name: 'Alexa Rivera',
},
message: 'Hello! 👋 Need help with our chatbot features? Feel free to ask!',
campaign_status: 'active',
enabled: true,
campaign_type: 'ongoing',
trigger_rules: {
url: 'https://www.chatwoot.com/features/chatbot/',
time_on_page: 10,
},
trigger_only_during_business_hours: true,
created_at: '2024-10-24T13:10:26.636Z',
updated_at: '2024-10-24T13:10:26.636Z',
},
{
id: 2,
title: 'Pricing Information Support',
inbox: {
id: 2,
name: 'PaperLayer Website',
channel_type: 'Channel::WebWidget',
phone_number: '',
},
sender: {
id: 1,
name: 'Jamie Lee',
},
message: 'Hello! 👋 Any questions on pricing? I am here to help!',
campaign_status: 'active',
enabled: false,
campaign_type: 'ongoing',
trigger_rules: {
url: 'https://www.chatwoot.com/pricings',
time_on_page: 10,
},
trigger_only_during_business_hours: false,
created_at: '2024-10-24T13:11:08.763Z',
updated_at: '2024-10-24T13:11:08.763Z',
},
{
id: 3,
title: 'Product Setup Assistance',
inbox: {
id: 2,
name: 'PaperLayer Website',
channel_type: 'Channel::WebWidget',
phone_number: '',
},
sender: {
id: 1,
name: 'Alexa Rivera',
thumbnail: 'AR',
},
message: 'Hi! Chatwoot here. Need help setting up? Let me know!',
campaign_status: 'active',
enabled: false,
campaign_type: 'ongoing',
trigger_rules: {
url: 'https://{*.}?chatwoot.com/apps/account/*/settings/inboxes/new/',
time_on_page: 10,
},
trigger_only_during_business_hours: false,
created_at: '2024-10-24T13:11:44.285Z',
updated_at: '2024-10-24T13:11:44.285Z',
},
{
id: 4,
title: 'General Assistance Campaign',
inbox: {
id: 2,
name: 'PaperLayer Website',
channel_type: 'Channel::WebWidget',
phone_number: '',
},
sender: {
id: 1,
name: 'Chris Barlow',
},
message:
'Hi there! 👋 I am here for any questions you may have. Let us chat!',
campaign_status: 'active',
enabled: true,
campaign_type: 'ongoing',
trigger_rules: {
url: 'https://siv.com',
time_on_page: 200,
},
trigger_only_during_business_hours: false,
created_at: '2024-10-29T19:54:33.741Z',
updated_at: '2024-10-29T19:56:26.296Z',
},
];
export const ONE_OFF_CAMPAIGN_EMPTY_STATE_CONTENT = [
{
id: 1,
title: 'Customer Feedback Request',
inbox: {
id: 6,
name: 'PaperLayer Mobile',
channel_type: 'Channel::Sms',
phone_number: '+29818373149903',
provider: 'default',
},
message:
'Hello! Enjoying our product? Share your feedback on G2 and earn a $25 Amazon coupon: https://chwt.app/g2-review',
campaign_status: 'active',
enabled: true,
campaign_type: 'one_off',
scheduled_at: 1729775588,
audience: [
{ id: 4, type: 'Label' },
{ id: 5, type: 'Label' },
{ id: 6, type: 'Label' },
],
trigger_rules: {},
trigger_only_during_business_hours: false,
created_at: '2024-10-24T13:13:08.496Z',
updated_at: '2024-10-24T13:15:38.698Z',
},
{
id: 2,
title: 'Welcome New Customer',
inbox: {
id: 6,
name: 'PaperLayer Mobile',
channel_type: 'Channel::Sms',
phone_number: '+29818373149903',
provider: 'default',
},
message: 'Welcome aboard! 🎉 Let us know if you have any questions.',
campaign_status: 'completed',
enabled: true,
campaign_type: 'one_off',
scheduled_at: 1729732500,
audience: [
{ id: 1, type: 'Label' },
{ id: 6, type: 'Label' },
{ id: 5, type: 'Label' },
{ id: 2, type: 'Label' },
{ id: 4, type: 'Label' },
],
trigger_rules: {},
trigger_only_during_business_hours: false,
created_at: '2024-10-24T13:14:00.168Z',
updated_at: '2024-10-24T13:15:38.707Z',
},
{
id: 3,
title: 'New Business Welcome',
inbox: {
id: 6,
name: 'PaperLayer Mobile',
channel_type: 'Channel::Sms',
phone_number: '+29818373149903',
provider: 'default',
},
message: 'Hello! We are excited to have your business with us!',
campaign_status: 'active',
enabled: true,
campaign_type: 'one_off',
scheduled_at: 1730368440,
audience: [
{ id: 1, type: 'Label' },
{ id: 3, type: 'Label' },
{ id: 6, type: 'Label' },
{ id: 4, type: 'Label' },
{ id: 2, type: 'Label' },
{ id: 5, type: 'Label' },
],
trigger_rules: {},
trigger_only_during_business_hours: false,
created_at: '2024-10-30T07:54:49.915Z',
updated_at: '2024-10-30T07:54:49.915Z',
},
{
id: 4,
title: 'New Member Onboarding',
inbox: {
id: 6,
name: 'PaperLayer Mobile',
channel_type: 'Channel::Sms',
phone_number: '+29818373149903',
provider: 'default',
},
message: 'Welcome to the team! Reach out if you have questions.',
campaign_status: 'completed',
enabled: true,
campaign_type: 'one_off',
scheduled_at: 1730304840,
audience: [
{ id: 1, type: 'Label' },
{ id: 3, type: 'Label' },
{ id: 6, type: 'Label' },
],
trigger_rules: {},
trigger_only_during_business_hours: false,
created_at: '2024-10-29T16:14:10.374Z',
updated_at: '2024-10-30T16:15:03.157Z',
},
];
export const VOICE_CAMPAIGN_EMPTY_STATE_CONTENT = [
{
id: 1,
title: 'Signup Confirmation Call',
inbox: {
id: 10,
name: 'PaperLayer Phone Support',
channel_type: 'Channel::Voice',
avatar_url: '',
phone_number: '+14155552671',
},
message: 'Hello! 👋 Thanks for signing up with PaperLayer. I am calling to confirm your account setup and see if you have any questions about getting started.',
campaign_status: 'scheduled',
enabled: true,
campaign_type: 'voice',
scheduled_at: new Date('2024-11-16T20:43:08.000Z').getTime(),
audience: [
{ id: 4, type: 'Label', title: 'Support Customers' },
{ id: 5, type: 'Label', title: 'Active Users' },
],
sender: {
id: 1,
name: 'Chris Barlow',
thumbnail: 'CB'
},
created_at: '2024-11-15T13:13:08.496Z',
updated_at: '2024-11-15T13:15:38.698Z',
},
{
id: 3,
title: 'Support Ticket Follow-Up',
inbox: {
id: 10,
name: 'PaperLayer Phone Support',
channel_type: 'Channel::Voice',
avatar_url: '',
phone_number: '+14155552671',
},
message: 'Hi, this is PaperLayer support calling to follow up on your recent ticket #12345. Has your issue been resolved to your satisfaction? If not, I can connect you with a specialist right away.',
campaign_status: 'completed',
enabled: true,
campaign_type: 'voice',
scheduled_at: new Date('2024-11-10T15:30:00.000Z').getTime(),
audience: [
{ id: 1, type: 'Label', title: 'Enterprise' },
{ id: 6, type: 'Label', title: 'Premium' },
],
sender: {
id: 2,
name: 'Sarah Wilson',
thumbnail: 'SW'
},
created_at: '2024-11-10T13:14:00.168Z',
updated_at: '2024-11-10T13:15:38.707Z',
},
{
id: 2,
title: 'Appointment Reminder',
inbox: {
id: 10,
name: 'PaperLayer Phone Support',
channel_type: 'Channel::Voice',
avatar_url: '',
phone_number: '+14155552671',
},
message: 'Hello, this is a reminder about your upcoming consultation scheduled for tomorrow at 2:00 PM. Would you like to confirm this appointment or would you prefer to reschedule?',
campaign_status: 'scheduled',
enabled: true,
campaign_type: 'voice',
scheduled_at: new Date('2024-11-20T18:00:00.000Z').getTime(),
audience: [
{ id: 7, type: 'Label', title: 'Consultation Clients' },
{ id: 8, type: 'Label', title: 'New Customers' },
],
sender: {
id: 3,
name: 'Michael Thompson',
thumbnail: 'MT'
},
created_at: '2024-11-12T09:30:45.123Z',
updated_at: '2024-11-12T09:30:45.123Z',
},
{
id: 4,
title: 'Customer Feedback Survey',
inbox: {
id: 10,
name: 'PaperLayer Phone Support',
channel_type: 'Channel::Voice',
avatar_url: '',
phone_number: '+14155552671',
},
message: 'Hello, this is PaperLayer reaching out for your valuable feedback. We noticed you\'ve been using our service for 30 days now. I\'d like to ask a few quick questions about your experience. Your feedback helps us improve our service. Would you have a moment to share your thoughts?',
campaign_status: 'scheduled',
enabled: true,
campaign_type: 'voice',
scheduled_at: new Date('2024-11-25T14:15:00.000Z').getTime(),
audience: [
{ id: 9, type: 'Label', title: 'Active 30+ Days' },
{ id: 10, type: 'Label', title: 'Product Users' },
],
sender: {
id: 4,
name: 'Jessica Rivera',
thumbnail: 'JR'
},
created_at: '2024-11-18T10:45:23.789Z',
updated_at: '2024-11-18T10:45:23.789Z',
}
];