CSV Import
The CSV feature in the AutoGPT plugin allows you to easily generate content for multiple titles by simply uploading a CSV file.
This powerful feature simplifies the content creation process and saves you time.
How It Works?
Once you upload your titles in a csv and hit the generate button in the CSV module, our plugin takes those titles and uses default content settings from the Settings - Content tab to generate the content. The content generation process is triggered by the Cron Job that you have set up.
Please note that the time it takes to generate the content depends on the availability of the OpenAI API and the number of articles you have requested. Generating a single article can take around 3 to 5 minutes, which means that if you have entered five titles, it might take around 20-25 minutes to generate all of them.
It's important to keep in mind that if your Cron Job is set to run every minute, it means that the generation process will be triggered every minute. However, if the previous job has not yet completed, the new job will be added to the queue and will be processed after the current job is completed.
The CSV module retrieves its default values from the Settings - Content tab. Before running a job, please ensure that you have adjusted your content settings in the Content tab to match your desired output and preferences.
Learn more about content settings here.
Once you hit generate, that batch of titles will be added to the queue and wait to be processed.
You don't need to wait until that batch is completed before adding more batches to the queue.
Free plan users can add up to 5 titles per batch, while Pro plan users can add up to 100 titles per batch.
You can continue to add batches to the queue until you reach the maximum limit allowed by your plan.
If you have multiple batches in the queue, the content generation process may take some time.
However, you can monitor the progress of each batch in the Queue tab and cancel a batch if it's taking longer than expected or if you no longer need the content.
Requirements
For the CSV Import module, you need to set up only one cron job for processing the queue.
Queue Processor:
* * * * * php /var/www/html/index.php -- wpaicg_cron=yes
Learn how to setup a cron job here.
Setup
To take advantage of the CSV feature, follow these steps:
- Navigate to the AutoGPT - CSV tab, and ensure that you have completed the Cron Job setup, which is essential for the CSV module to operate efficiently.
- Upload a CSV file containing the title value for each line in the CSV tab and choose whether to save the content as a draft or publish it immediately, select the post category, author and click the Generate button. Learn more about content settings here.
- You can monitor the progress of your content creation in the Queue tab.
Since the CSV module works with only one title per line, there isn't a need for a sample file.
However, the structure of the CSV file should look like this:
Please make sure your CSV delimiter is comma.
Free plan users are limited to generating only 5 pieces of content per batch. In contrast, Pro plan users have the advantage of generating up to 100 pieces of content per batch. Additionally, Pro plan users can schedule their posts and have the ability to add keywords, avoid keywords, and include FAQ sections in their generated content. This offers a more flexible and enhanced experience for Pro plan users.
Feature | Free Plan | Pro Plan |
---|---|---|
Content Generation Limit per Batch | 5 | 100 |
Scheduled Posts | ❌ | ✅ |
Keywords | ❌ | ✅ |
Avoid Keywords | ❌ | ✅ |
FAQ Sections | ❌ | ✅ |
Unlike the Bulk Editor, the CSV module does not provide options for scheduling, tags, keywords, and links. It is designed to work with titles only and offers a more streamlined content generation process.
Using Custom Prompt
If you don't want to use the built-in prompts that come with the plugin and prefer to use your own, you can go to AutoGPT - Settings and enable the custom prompt option.
Best Practices and Tips
- Make sure to include
[title]
in your prompt. If you are in a Pro Plan you can also add[keywords_to_include]
and[keywords_to_avoid]
to further customize your prompt. - You can add your language to the prompt. Just replace "in English" with your language.
- This works best with gpt-4 and gpt-3.5-turbo.
- Please note that if the custom prompt is enabled, the plugin will bypass language, style, tone, etc., settings. You need to specify them in your prompt.
Auto Restart Failed Jobs
You can choose to automatically restart failed jobs after a specific amount of time or after a certain number of attempts.
To enable the restart feature, go to the AutoGPT - Settings tab.
-
Restart Failed Jobs After: Set the amount of time after which the tool should attempt to restart a failed job. Available options: Do not restart, 20, 30, 40, 50 and 60 minutes.
-
Attempt up to a Maximum of: Define the maximum number of times the tool should try to restart a failed job before giving up. Available options: 1 to 10 times.
By configuring these settings, you can ensure that your content generation process continues smoothly even if there are temporary issues with the OpenAI servers or if you run out of quota.
For example, if a bulk job fails due to unforeseen circumstances such as OpenAI servers being down or you are out of quota, the tool will automatically attempt to restart the failed job based on the settings you have selected.
Monitoring
The queue feature in Auto Content Writer is a helpful tool that allows users to keep track of the progress of their content creation.
When you generate multiple articles at once using the GPT agents, they are added to a queue, and you can monitor the status of each batch in the Queue tab.
There are seven fields in the Queue tab that give you information about each batch of content.
Field | Description |
---|---|
ID | The ID field shows the unique identifier for each batch. |
Batch | The Batch field shows you the list of titles in that batch. It is clickable, and once you click on it, you can see the list of titles in that batch. |
Status | The Status field shows whether the batch is pending, cancelled, in progress, or completed. |
Source | The Source field shows where the batch was created, whether in the Bulk Editor, CSV, Copy-Paste, RSS or Google Sheets feature. |
Duration | The Duration field shows how long it took to generate all the contents in that batch. |
Token | Token field shows how many tokens were spent to generate the content. |
Word Count | The Word Count field shows how many words are in that batch. |
Action | The Action field provides a delete button to delete the batch if you no longer need it. Please note that deleting a batch will not delete the content that was generated. |
In addition to the monitoring capabilities, you can also filter batches based on their status.
This allows you to quickly view batches that are completed, pending, or in other states, enhancing your ability to manage the content creation process.
Furthermore, the Queue tab provides a summary of the total number of batches, as well as the number of pending and completed batches. This gives you a quick overview of your content generation activities.
With the Queue feature, you can easily keep track of the progress of your content creation and stay organized. You can also cancel a batch if it is taking longer than expected or if you no longer need the content.
Deleting a job from the queue will only remove the job from the queue and will not delete the content that was generated.