# Connect DALL-E to Facebook and automate your tasks

### Why integrate DALL-E with Facebook

The DALL-E to Facebook integration helps you sync data, automate manual tasks, and keep your stack aligned — without writing code.

### Generate product images from your Shopify catalog data
When a product is created or updated in Shopify, MESA passes the details to DALL-E and produces a ready-to-use image based on the product description, category, and attributes. Your catalog stays visually populated without a photographer or designer producing every asset from scratch.

### Create on-brand marketing visuals from Shopify campaign data
When a promotion, collection, or seasonal campaign goes live in Shopify, MESA passes the relevant details to DALL-E and generates campaign imagery for your marketing channels. Your visual content keeps pace with your store activity without a design bottleneck on every launch.

### Produce customer-facing visuals from order and customization data
When a customer places a custom or personalized order in Shopify, MESA passes the specifications to DALL-E and generates a preview image for review or confirmation. Your customers see what they ordered before it goes to production without anyone creating mockups by hand.

### Sync Shopify audiences to Facebook Ads in real time
When a customer's tags, purchase history, or lifecycle stage changes in Shopify, MESA updates the corresponding Facebook Ads audience. Your campaigns always target the right people without manual list exports.

### Launch retargeting audiences from Shopify order events
When a customer abandons checkout, completes a first purchase, or hits a spend threshold, MESA adds them to the right Facebook Ads audience automatically. Your retargeting runs on live customer behavior, not a weekly CSV upload.

### Pause or adjust campaigns when inventory runs low
When stock drops below a threshold in Shopify, MESA triggers a Facebook Ads update — pausing a campaign, adjusting a budget, or flagging it for review. You stop spending on products you can't fulfill without checking ad accounts manually.

## Build any DALL-E and Facebook automation

MESA helps you connect apps to automate repetitive tasks. A trigger is an event that starts a workflow, and actions are the steps that occur when it's running.

###### Add User to Custom Audience
Add a user to a custom audience based on matching availability.
- Audience ID  
- Num Invalid Entries

###### Create Ad
Create a new ad.
- Name  
- Ad Set ID  
- Campaign ID  
- Creative ID  
- Creative  
- Status

###### Create Product
Create a new product.
- Name  
- Currency  
- Price  
- Image URL  
- Category  
- Retailer ID  
- URL  
- Description  
- Short Description  
- Brand

###### Retrieve Campaign
Grab all details about an existing campaign.
- ID  
- Name  
- Objective  
- Status

###### Generate Image
Create an image based on a text prompt.
- URL  
- B64 Json

## Integrate DALL-E with Facebook today.

Enjoy a 7-day free trial. Get your first workflow in minutes.
