Learn how to generate images and text in Airtable using OpenAI and DALL-E with Pabbly Connect in this detailed tutorial. Eliminate manual repetitive tasks from your workflow. Discover proven automation methods with intuitive steps designed for efficiency-minded professionals.

Watch Step By Step Video Tutorial Below


1. Setting Up Pabbly Connect for Airtable Integration

To start generating images and text in Airtable using OpenAI and DALL-E, we will use Pabbly Connect as our automation platform. First, log in to your Pabbly Connect account. If you are new, you can sign up for free to access the dashboard.

Once logged in, click on the ‘Create Workflow’ button. Name your workflow, for instance, ‘Airtable to OpenAI’, and select your desired folder. This is where you will manage your automation settings in Pabbly Connect.


2. Trigger Setup in Pabbly Connect

Now, we need to set up a trigger that will activate our workflow whenever a new record is added in Airtable. In the trigger window, choose Airtable as the app and select the event ‘New Record’. Then, click ‘Connect’ and add a new connection. using Pabbly Connect

  • Enter the Access Token from your Airtable account.
  • Select the base that contains your data.
  • Choose the specific table where new records will be added.

After setting up the trigger, make sure to create a field named ‘Created’ with the type ‘Created Time’ in your Airtable table. This field will ensure that the trigger works correctly whenever a new record is added to Airtable.


3. Image Generation Using OpenAI in Pabbly Connect

After setting up the trigger, the next step is to generate an image using OpenAI’s DALL-E. In the action step, select OpenAI as the app and choose the action event ‘Generate Image’. Click ‘Connect’ and add a new connection by entering your OpenAI API key. using Pabbly Connect

In the action settings, select the model you want to use, such as DALL-E 3. Then, map the image prompt from the trigger step into the prompt field. Specify the number of images to generate and their size, such as 1024×1024 pixels.


4. Text Generation Using OpenAI’s ChatGPT in Pabbly Connect

Next, we will generate text content using OpenAI’s ChatGPT. Add another action step in Pabbly Connect, select OpenAI again, and this time choose the action event ‘ChatGPT’. Use the same connection you created earlier.

In the settings, select the GPT-4 model and map the title from the trigger step to the prompt field. This prompt will instruct ChatGPT to write an article based on the title you provided in Airtable.

Click on ‘Save and Send Test Request’ to see if the integration works correctly. You should receive a response containing the generated text content from ChatGPT.


5. Updating Airtable with Generated Content

The final step is to update the Airtable record with the generated image URL and text content. In Pabbly Connect, add one last action step and select Airtable. Choose the action event ‘Update Record’.

  • Select the same base and table where the original record is located.
  • Map the Record ID from the trigger step to ensure you update the correct record.
  • Map the generated text content and image URL into the respective fields.

After saving this action, your Airtable record will automatically update with the new image and text generated by OpenAI. To confirm, refresh your Airtable table to see the updated content.


Conclusion

Using Pabbly Connect, you can seamlessly generate images and text in Airtable with OpenAI and DALL-E. This integration allows for efficient automation, enhancing productivity and creativity in your projects.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.