# Automated PDF & Image Text Extractor & Instant Social Media: n8n workflow

> Started by an event in a connected app, and works across Discord, Gmail, Google Drive, LinkedIn and three others. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/automated-pdf-and-image-text-extractor-and-instant-social-me (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Automated PDF & Image Text Extractor & Instant Social Media

Started by an event in a connected app, and works across Discord, Gmail, Google Drive, LinkedIn and three others. It hands the judgement calls to OpenAI. 36 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomated-pdf-and-image-text-extractor-and-instant-social-me)

**36 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**7** Services it connects to

## The flow

Starts it 1 Model 5 Logic 3 Service 27

The steps in the order they run, from what starts it.

- 1 **Get PDF or Images** Google Drive trigger *Starts it*
- 2 **OpenAI Model** Lm Chat Open Ai *Model*
- 3 **OpenAI Model1** Lm Chat Open Ai *Model*
- 4 **Route based on PDF or Image** Switch *Logic*
- 5 **Expert AI image prompt creator** Agent *Model*
- 6 **Vertex AI extract text** Chain Llm *Model*
- 7 **Download PDF** Google Drive *Service*
- 8 **Download Image** Google Drive *Service*
- 9 **Generate an image** Open Ai *Model*
- 10 **do nothing** No Op *Logic*
- 11 **Extract data from PDF** Extract From File *Service*
- 12 **Edit Image2** Edit Image *Service*
- 13 **send text post** Telegram *Service*
- 14 **Create Tweet text (free account)** Twitter *Service*
- 15 **Create profile text post** Linked In *Service*
- 16 **Create page text post** Linked In *Service*
- 17 **Facebook text post** Facebook Graph Api *Service*
- 18 **Create Tweet text (premium account)** Twitter *Service*
- 19 **Do nothing** No Op *Logic*
- 20 **Create WordPress Post** Wordpress *Service*
- 21 **Facebook Image post** Facebook Graph Api *Service*
- 22 **Telegram Image post** Telegram *Service*
- 23 **Create profile image post** Linked In *Service*
- 24 **Create page image post** Linked In *Service*
- 25 **Post on Discord Channel** Discord *Service*
- 26 **Send a text message** Telegram *Service*
- 27 **Create Direct Message** Twitter *Service*
- 28 **Warning Message** Facebook Graph Api *Service*
- 29 **Send a message** Gmail *Service*
- 30 **Post on message** Discord *Service*
- 31 **Rapiwa** Rapiwa *Service*
- 32 **HTTP Request1** Http Request *Service*
- 33 **Edit Image** Edit Image *Service*
- 34 **upload media to wp** Http Request *Service*
- 35 **upload image to meta data** Http Request *Service*
- 36 **set featured image** Http Request *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 36, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Discord, Gmail, Google Drive, LinkedIn, Telegram, WordPress, X
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Discord, Gmail, Google Drive, LinkedIn, Telegram, WordPress and X accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 36 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 36 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomated-pdf-and-image-text-extractor-and-instant-social-me)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Discord](https://millionrounds.com/workflows?service=Discord#library)[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[LinkedIn](https://millionrounds.com/workflows?service=LinkedIn#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)[WordPress](https://millionrounds.com/workflows?service=WordPress#library)[X](https://millionrounds.com/workflows?service=X#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Automate RSS content to blog posts with WordPress and LinkedIn** 36 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-rss-content-to-blog-posts-with-wordpress-and-linked)
- [**Automate video creation from voice input with HeyGen** 36 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-video-creation-from-voice-input-with-heygen)
- [**Generate AI avatar videos with OpenAI** 36 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-ai-avatar-videos-with-openai)
- [**Auto Post Google Drive to Instagram & Facebook content management** 36 steps · Google Drive, Google Sheets](https://millionrounds.com/workflow/auto-post-google-drive-to-instagram-and-facebook-content-man)
- [**Post to Mastodon with Gmail and Google Drive** 36 steps · Gmail, Google Drive](https://millionrounds.com/workflow/postar-no-mastodon-with-gmail-and-google-drive)
- [**SEO link audit engine automation with Gmail and Google Sheets** 36 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/seo-link-audit-engine-automation-with-gmail-and-google-sheet)
