---
title: "Automagical Metatags"
video_id: bvGmWKFtaZ0
url: https://www.youtube.com/watch?v=bvGmWKFtaZ0
workflow_page: https://workflows-of-ai.com/workflow/automagical-metatags
language: en
captions: generated
---

0:00 hey there marus here this is sponsored
0:02 by freely give freely give pays my
0:04 salary so I can do open source stuff if
0:07 you need help with AI reach out to free
0:10 give they have a lot of experts
0:12 including myself if you want to help out
0:14 with the AI module please reach out to
0:16 me Jamie from fre
0:19 GI um today I'm going to talk about the
0:23 the metatag metatag automator that was
0:26 added in AI module version 1.04
0:31 uh so what this can do is automate uh
0:34 filling out certain neot tag fields that
0:36 you might not have the structure to fill
0:39 out via
0:40 tokens so I'm just going to give example
0:43 here I have an article I just copied
0:45 from
0:46 CNN uh and what I want to do is one one
0:52 is to write a title using uh another
0:57 type of language here that might be
0:59 specific for some specific social media
1:02 and I also want to get this image that
1:05 happens to be in a big HTML field to
1:07 actually be the metat tag image if
1:09 someone shares it on Twitter or Facebook
1:11 or something like
1:13 that um the only thing I have installed
1:16 here is the metat tag module the AI
1:19 module 1.4 as I said and the AI provider
1:22 open AI in this case but you can use any
1:24 provider in this
1:26 case uh and then you just go to the comp
1:30 type so we're just using the normal
1:31 article and we're just going to add a
1:33 meta type
1:35 here uh we just call this metat tag and
1:39 in here you're going to have enable Ai
1:41 automats and there is the llm meta tag
1:45 so we're going to use Advan token
1:47 because I want to use both the title and
1:50 the description in this
1:52 case um so we have the no title oh let's
1:58 do here can copy and paste this and
2:06 body based on the title and the
2:25 contents so I'm going to do Target it
2:28 towards uh 15 to 18
2:32 year old women in
2:36 America and
2:41 us use very
2:47 um
2:50 slang slang
2:53 language yeah I don't know that's a good
2:55 PR but you get the idea right also
2:59 extract ract the image URL from the
3:03 first image you can find in the
3:08 content so and then we do title equals
3:12 this and uh uh
3:15 content and let's just do
3:21 some separators here or actually since
3:25 this is HTML the best thing is actually
3:28 to do this using Code block in markup
3:30 that's something that AI understands
3:33 very well so what is special here now
3:36 then is uh so I'm going to use the
3:38 default Advanced Json mod model which is
3:41 the open model so we can go to basic
3:44 tags or we can go to Advanced and if you
3:47 add more uh uh metat tag modules you can
3:51 use those fields here then but I'm just
3:54 going to do the uh page title so this is
3:57 a sub prompt now then
4:00 that you have to give specifically for
4:02 this and only the things where you uh
4:04 write a a setup prompt and Sample promp
4:09 will actually be created VII
4:40 so then you also have to give like a one
4:42 shot example so it uh uh understands
4:46 approximately how you want to do it it
4:49 doesn't have to be about the content you
4:50 were writing about it should just be a
4:52 general uh
4:56 uh so I'm not the I'm not a Native
5:01 American as you might
5:05 see uh and I'm also old so I'm not part
5:08 of the target group so this example is
5:11 maybe horrible um and then we
5:16 have uh uh let's see here short link
5:20 next set up image here we
5:24 go
5:26 uh let's just try there test jpeg
5:31 extract the first image you can find
5:36 inside the
5:39 content so uh oh one thing that's
5:43 important no we're using advanced mode
5:45 so this is going to be HTML that's all
5:47 good then and that's basically it we're
5:50 going to save this go to our content
5:53 here we can see here even the meta tag
5:56 is not well okay so here's the thing
6:00 this is going to use actually the tokens
6:03 by default and this works as any other
6:05 automater if this is filled out whether
6:08 that's token or something manual it will
6:11 just use that but in our case we're just
6:13 going to remove this because we want to
6:15 fill out the page title right uh for the
6:18 image nothing is filled out so now we're
6:21 just going to go ahead and save it and
6:23 then AI will basically start
6:28 working and hopefully if we go
6:32 back you have seen it's filled out yo
6:35 check out K do
6:37 yeah I have no clue if that's something
6:40 good right and it also found the actual
6:43 image so yeah that that is basically it
6:47 that's how you can use the uh metatag
6:49 automator to to use AI to fill out
6:52 specific metod Ty Fields using any
6:56 context thank you for watching
