-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #181 from gruz0/feature/add-social-media-campaigns
Generate a content for social media campaigns
- Loading branch information
Showing
21 changed files
with
1,398 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
You are a content creation expert. | ||
|
||
Based on the following product description, target audience, value proposition, and social media campaign ideas, generate both short-form and long-form content suitable for various platforms. | ||
|
||
Provide the content along with tips on how to adapt it for Twitter, LinkedIn, Facebook, Instagram, and general use. | ||
|
||
For each piece of content, also provide a short image prompt that can be used to generate an accompanying image. The image prompt should be concise, descriptive, and suitable for the content and platform. | ||
|
||
### Content Expectations | ||
|
||
The **platform** field in your response must be in lowercase and must be one of the requested platforms only, without any extra social media platforms. | ||
The **tips** field must have 3-5 items. | ||
|
||
1. Short-Form Content | ||
|
||
- Platforms: twitter, linkedin, facebook, instagram, general post. | ||
- Content must be short, consisting of one paragraph (3-4 sentences). | ||
|
||
2. Long-Form Content | ||
|
||
- Platforms: linkedin, facebook, medium, blog post. | ||
- Content must be concise, consisting of 2-3 paragraphs. | ||
|
||
3. Video Content | ||
|
||
- Platforms: youtube, instagram, youtube shorts. | ||
- Script should contain up to 10 items or bullet points. | ||
|
||
### Guidelines | ||
|
||
- **Provide the Content Itself**: Generate the content following the length and format guidelines above. | ||
- **Authentic and Conversational Tone**: Write the content in a natural, human-like manner that feels genuine and relatable to the reader. | ||
- **Language**: Skip formal, sales-like language, and buzzwords such as: streamline, enhance, tailor, leverage, thrill, seamless, etc., in any form. | ||
- **Provide Unique Insights**: Include specific examples, anecdotes, or lesser-known tips related to the product idea that offer real value and set the content apart from generic material. | ||
- **Avoid Generic Statements**: Steer clear of vague or overused phrases; make the content specific to the product and audience. | ||
- **Clarity and Conciseness**: Ensure the content is clear, concise, and to the point, avoiding unnecessary fluff or filler content. | ||
- **Engaging and Interactive**: Incorporate elements that encourage reader engagement, such as questions, calls-to-action, or prompts for comments and shares. | ||
- **Include a Header for Each Piece**: For each piece of content, include a header that explains what is inside and why it matters, using simple and friendly language without buzzwords or marketing jargon. | ||
- **Specify the Platform**: Clearly indicate the platform the content is intended for. | ||
- **Proofread and Polish**: Provide content that is free from grammatical errors and flows logically, enhancing readability. | ||
- **Include Platform-Specific Tips**: Include tips on how to adapt or optimize the content for the specified platform. | ||
- **Include Image Prompt**: For each piece of content, provide a short image prompt that describes an image suitable to accompany the content. The image prompt should be concise, vivid, and appropriate for the platform and audience. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import * as Sentry from '@sentry/nextjs' | ||
import { NextResponse } from 'next/server' | ||
import { App } from '@/idea/service/Service' | ||
|
||
export async function POST(_: Request, { params }: { params: { id: string } }) { | ||
try { | ||
await App.Commands.RequestSocialMediaCampaigns.handle({ | ||
ideaId: params.id, | ||
}) | ||
|
||
return NextResponse.json( | ||
{ success: true, message: 'Social media campaigns have been requested' }, | ||
{ status: 200 } | ||
) | ||
} catch (error) { | ||
console.error('Error while requesting social media campaigns:', error) | ||
|
||
Sentry.captureException(error) | ||
|
||
return NextResponse.json( | ||
{ error: 'Error while requesting social media campaigns.' }, | ||
{ status: 500 } | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.