<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Automation - Mynavi TechTus Vietnam</title>
	<atom:link href="https://mynavitechtus.com/tag/automation/feed/" rel="self" type="application/rss+xml" />
	<link>https://mynavitechtus.com</link>
	<description></description>
	<lastBuildDate>Fri, 25 Jul 2025 03:32:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://mynavitechtus.com/wp-content/uploads/2024/01/Logo-34-150x150.png</url>
	<title>Automation - Mynavi TechTus Vietnam</title>
	<link>https://mynavitechtus.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Automating Tasks with AI Agent Using n8n</title>
		<link>https://mynavitechtus.com/automating-tasks-with-ai-agent-using-n8n/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 27 May 2025 04:20:31 +0000</pubDate>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[AI agents]]></category>
		<category><![CDATA[Automation]]></category>
		<guid isPermaLink="false">https://mynavitechtus.com/?p=991989</guid>

					<description><![CDATA[<p>Nowadays, it's important for all kinds of activities, including travel, to be more eco-friendly and considerate of communities and nature.</p>
<p>The post <a href="https://mynavitechtus.com/automating-tasks-with-ai-agent-using-n8n/">Automating Tasks with AI Agent Using n8n</a> first appeared on <a href="https://mynavitechtus.com">Mynavi TechTus Vietnam</a>.</p>]]></description>
										<content:encoded><![CDATA[<div data-elementor-type="wp-post" data-elementor-id="991989" class="elementor elementor-991989" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-538445f e-flex e-con-boxed e-con e-parent" data-id="538445f" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-eb5d4ca elementor-widget elementor-widget-text-editor" data-id="eb5d4ca" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><em>Credit: Thachlh (Tech lead)</em></p><p id="883f" class="pw-post-body-paragraph lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md fk bk" data-selectable-paragraph="">To create an effective workflow, it’s essential to first understand what <em class="me">n8n</em> and an <em class="me">AI Agent</em> are.</p><h2 id="89f0" class="mf mg gc bf mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc bk">What is n8n?</h2><p id="7a5b" class="pw-post-body-paragraph lg lh gc li b lj nd ll lm ln ne lp lq lr nf lt lu lv ng lx ly lz nh mb mc md fk bk" data-selectable-paragraph="">n8n is an open-source tool that allows you to automate workflows by connecting various services. In this guide, we’ll explore how to use n8n to build an AI Agent that can respond to user input and perform specific tasks.</p><h2 id="76c0" class="mf mg gc bf mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc bk">What is an AI Agent?</h2><p id="effb" class="pw-post-body-paragraph lg lh gc li b lj nd ll lm ln ne lp lq lr nf lt lu lv ng lx ly lz nh mb mc md fk bk" data-selectable-paragraph="">An AI Agent is an application or system that uses artificial intelligence to automate tasks, answer questions, or perform actions based on user input. AI Agents can be used in a wide range of scenarios, from customer support to task management.</p><p id="6ce4" class="pw-post-body-paragraph lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md fk bk" data-selectable-paragraph="">In this tutorial, you’ll learn how to create a simple AI Agent using n8n, integrated with Google Calendar API and Gemini API.</p><h3 id="2979" class="mf mg gc bf mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc bk">Requirements</h3><ul class=""><li id="312b" class="lg lh gc li b lj nd ll lm ln ne lp lq lr nf lt lu lv ng lx ly lz nh mb mc md ni nj nk bk" data-selectable-paragraph="">Docker</li><li id="842d" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph="">A Google project with Calendar API enabled</li><li id="c2ad" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph="">Gemini API key</li></ul><h3 id="b467" class="mf mg gc bf mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc bk">Installing n8n with Docker (or using n8n Cloud)</h3><p>docker run -it &#8212;<span class="hljs-built_in">rm</span> \<br />-p 5678:5678 \<br />-v ~/.n8n:/home/node/.n8n \<br />n8nio/n8n</p><h2 id="375e" class="mf mg gc bf mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc bk">Creating a Workflow in n8n</h2><p>1.Open your browser and go to <a class="ag of" href="http://localhost:5678/" target="_blank" rel="noopener ugc nofollow">http://localhost:5678</a>.</p><p id="b27f" class="pw-post-body-paragraph lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md fk bk" data-selectable-paragraph="">2. Create a new workflow by clicking the <strong class="li gd">“New”</strong> button in the top-right corner.</p><p id="5cac" class="pw-post-body-paragraph lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md fk bk" data-selectable-paragraph="">3. Drag and drop the required nodes onto the canvas. You will need the following nodes:</p><ul class=""><li id="f707" class="lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Chat Trigger</strong>: to receive user input.</li><li id="9ef4" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">AI Agent</strong>: to process and respond to the input.</li><li id="86b9" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Google Calendar</strong>: to create calendar events.</li><li id="1bda" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Gemini API</strong>: to enable AI tasks via Gemini.</li></ul>								</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-574812a e-flex e-con-boxed e-con e-parent" data-id="574812a" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-569de19 elementor-widget elementor-widget-image" data-id="569de19" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img fetchpriority="high" decoding="async" width="1108" height="710" src="https://mynavitechtus.com/wp-content/uploads/2025/05/Screenshot-2025-05-27-at-11.17.17 AM.png" class="attachment-large size-large wp-image-991992" alt="Create AI agent" srcset="https://mynavitechtus.com/wp-content/uploads/2025/05/Screenshot-2025-05-27-at-11.17.17 AM.png 1108w, https://mynavitechtus.com/wp-content/uploads/2025/05/Screenshot-2025-05-27-at-11.17.17 AM-1024x656.png 1024w, https://mynavitechtus.com/wp-content/uploads/2025/05/Screenshot-2025-05-27-at-11.17.17 AM-768x492.png 768w, https://mynavitechtus.com/wp-content/uploads/2025/05/Screenshot-2025-05-27-at-11.17.17 AM-18x12.png 18w" sizes="(max-width: 1108px) 100vw, 1108px" />															</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-020123a e-flex e-con-boxed e-con e-parent" data-id="020123a" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-a98104f elementor-widget elementor-widget-text-editor" data-id="a98104f" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2 id="7768" class="mf mg gc bf mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc bk">Configuring the Nodes</h2><h3 id="bd4b" class="oh mg gc bf mh oi oj ok ml ol om on mp lr oo op oq lv or os ot lz ou ov ow ox bk">1. Chat Trigger</h3><p id="fab1" class="pw-post-body-paragraph lg lh gc li b lj nd ll lm ln ne lp lq lr nf lt lu lv ng lx ly lz nh mb mc md fk bk" data-selectable-paragraph="">Select the “Chat Trigger” node and configure it to receive user input.</p><p id="7c57" class="pw-post-body-paragraph lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md fk bk" data-selectable-paragraph="">You can name this trigger something like <strong class="li gd">“User Input”</strong>.</p><h3 id="5720" class="oh mg gc bf mh oi oj ok ml ol om on mp lr oo op oq lv or os ot lz ou ov ow ox bk">2. AI Agent</h3><p id="cab6" class="pw-post-body-paragraph lg lh gc li b lj nd ll lm ln ne lp lq lr nf lt lu lv ng lx ly lz nh mb mc md fk bk" data-selectable-paragraph="">Connect the “Chat Trigger” node to the “AI Agent” node.</p><p id="c85e" class="pw-post-body-paragraph lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md fk bk" data-selectable-paragraph="">In the configuration of the AI Agent node, set the following:</p><ul class=""><li id="8dc4" class="lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Credential to connect with</strong>: Choose the credential linked to the Gemini API.</li><li id="3e72" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Host</strong>: <code class="cx oy oz pa nw b"><a class="ag of" href="https://generativelanguage.googleapis.com/" target="_blank" rel="noopener ugc nofollow">https://generativelanguage.googleapis.com</a></code></li><li id="44c8" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">API Key</strong>: Enter your Gemini API key from Google.</li><li id="2ba3" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Model</strong>: Choose the AI model you want to use, for example: <code class="cx oy oz pa nw b">models/gemini-2.0-flash-001</code>.</li></ul>								</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-60a7b23 e-flex e-con-boxed e-con e-parent" data-id="60a7b23" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-efae1f4 elementor-widget elementor-widget-image" data-id="efae1f4" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img decoding="async" width="1086" height="1000" src="https://mynavitechtus.com/wp-content/uploads/2025/05/Screenshot-2025-05-27-at-11.18.10 AM.png" class="attachment-large size-large wp-image-991993" alt="Google Gemini" srcset="https://mynavitechtus.com/wp-content/uploads/2025/05/Screenshot-2025-05-27-at-11.18.10 AM.png 1086w, https://mynavitechtus.com/wp-content/uploads/2025/05/Screenshot-2025-05-27-at-11.18.10 AM-1024x943.png 1024w, https://mynavitechtus.com/wp-content/uploads/2025/05/Screenshot-2025-05-27-at-11.18.10 AM-768x707.png 768w, https://mynavitechtus.com/wp-content/uploads/2025/05/Screenshot-2025-05-27-at-11.18.10 AM-13x12.png 13w" sizes="(max-width: 1086px) 100vw, 1086px" />															</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-7a526fb e-flex e-con-boxed e-con e-parent" data-id="7a526fb" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-ec1cf6e elementor-widget elementor-widget-text-editor" data-id="ec1cf6e" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2 id="16af" class="oh mg gc bf mh oi oj ok ml ol om on mp lr oo op oq lv or os ot lz ou ov ow ox bk" data-selectable-paragraph="">3. Google Calendar</h2><p id="1b8a" class="pw-post-body-paragraph lg lh gc li b lj nd ll lm ln ne lp lq lr nf lt lu lv ng lx ly lz nh mb mc md fk bk" data-selectable-paragraph="">Connect the “AI Agent” node to the “Google Calendar” node.</p><p id="195c" class="pw-post-body-paragraph lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md fk bk" data-selectable-paragraph="">In the configuration:</p><ul class=""><li id="752a" class="lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Tool Description</strong>: Set to “Set Automatically”.</li><li id="2c84" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Resource</strong>: Event.</li><li id="feab" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Operation</strong>: Create.</li><li id="18f7" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Calendar</strong>: Select the calendar you want to use.</li><li id="f912" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph=""><strong class="li gd">Start Time &amp; End Time</strong>: Use the star icon to let the AI Agent dynamically determine the event timing.</li></ul><p id="38b7" class="pw-post-body-paragraph lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md fk bk" data-selectable-paragraph="">You can click <strong class="li gd">Test</strong> to ensure Google Calendar is connected and functioning correctly. And just like that, you’ve finished creating a simple workflow that links Google Calendar API and Gemini API to schedule events automatically.</p>								</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-fcb1318 e-flex e-con-boxed e-con e-parent" data-id="fcb1318" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-ee90d56 elementor-widget elementor-widget-image" data-id="ee90d56" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img decoding="async" width="842" height="1684" src="https://mynavitechtus.com/wp-content/uploads/2025/05/0XP-O1B_DkQHHdTF.jpg" class="attachment-large size-large wp-image-991994" alt="AI Mynavi Techtus Vietnam" srcset="https://mynavitechtus.com/wp-content/uploads/2025/05/0XP-O1B_DkQHHdTF.jpg 842w, https://mynavitechtus.com/wp-content/uploads/2025/05/0XP-O1B_DkQHHdTF-512x1024.jpg 512w, https://mynavitechtus.com/wp-content/uploads/2025/05/0XP-O1B_DkQHHdTF-768x1536.jpg 768w, https://mynavitechtus.com/wp-content/uploads/2025/05/0XP-O1B_DkQHHdTF-6x12.jpg 6w" sizes="(max-width: 842px) 100vw, 842px" />															</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-3e0e7fd e-flex e-con-boxed e-con e-parent" data-id="3e0e7fd" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-e5572b0 elementor-widget elementor-widget-text-editor" data-id="e5572b0" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2 id="a733" class="mf mg gc bf mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc bk">Running the Workflow</h2><ul class=""><li id="f267" class="lg lh gc li b lj nd ll lm ln ne lp lq lr nf lt lu lv ng lx ly lz nh mb mc md ni nj nk bk" data-selectable-paragraph="">Type a question or request into the “Chat Trigger” node.</li><li id="ac9f" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph="">The AI Agent will process the input and respond.</li><li id="88e8" class="lg lh gc li b lj nl ll lm ln nm lp lq lr nn lt lu lv no lx ly lz np mb mc md ni nj nk bk" data-selectable-paragraph="">If your request includes a calendar event (e.g., “Create an event tomorrow at 8–9PM”), the Google Calendar node will automatically add it.</li></ul><p id="ec83" class="pw-post-body-paragraph lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md fk bk" data-selectable-paragraph=""><strong class="li gd">Note</strong>: Initially, you might find that the event is created with the wrong date. This is because the AI doesn’t know what “tomorrow” refers to unless it’s given a current timestamp.</p><h2 id="622a" class="mf mg gc bf mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc bk">How to Fix the “Tomorrow” Problem</h2><p id="9951" class="pw-post-body-paragraph lg lh gc li b lj nd ll lm ln ne lp lq lr nf lt lu lv ng lx ly lz nh mb mc md fk bk" data-selectable-paragraph="">Click on the <strong class="li gd">AI Agent</strong> node and add the following context so it knows today’s date and can infer tomorrow’s:</p><pre class="nq nr ns nt nu nv nw nx bp ny bb bk"><span id="b7e3" class="nz mg gc nw b bg oa ob m oc od" data-selectable-paragraph="">here is the current <span class="hljs-built_in">date</span>/time: {{ <span class="hljs-variable">$now</span> }}<br />here is my timezone: +07:00</span></pre><p id="dbc1" class="pw-post-body-paragraph lg lh gc li b lj lk ll lm ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md fk bk" data-selectable-paragraph="">Now, when you enter your request again via “Chat Trigger,” <em class="me">boom</em> — your schedule is accurately created on Google Calendar with the correct time and date.</p><figure class="nq nr ns nt nu ft fp fq paragraph-image"><div class="fu fv ee fw bh fx" tabindex="0" role="button"> </div></figure>								</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-22b1413 e-flex e-con-boxed e-con e-parent" data-id="22b1413" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-20dc93b elementor-widget elementor-widget-image" data-id="20dc93b" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1280" height="1341" src="https://mynavitechtus.com/wp-content/uploads/2025/05/0DR2ro5FulxEoBoDa.jpg" class="attachment-large size-large wp-image-991995" alt="AI agent" srcset="https://mynavitechtus.com/wp-content/uploads/2025/05/0DR2ro5FulxEoBoDa.jpg 1400w, https://mynavitechtus.com/wp-content/uploads/2025/05/0DR2ro5FulxEoBoDa-977x1024.jpg 977w, https://mynavitechtus.com/wp-content/uploads/2025/05/0DR2ro5FulxEoBoDa-768x805.jpg 768w, https://mynavitechtus.com/wp-content/uploads/2025/05/0DR2ro5FulxEoBoDa-11x12.jpg 11w" sizes="(max-width: 1280px) 100vw, 1280px" />															</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-b82d5b2 e-flex e-con-boxed e-con e-parent" data-id="b82d5b2" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-ac4a6a0 elementor-widget elementor-widget-text-editor" data-id="ac4a6a0" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2 id="1e67" class="mf mg gc bf mh mi mj mk ml mm mn mo mp mq mr ms mt mu mv mw mx my mz na nb nc bk">Conclusion</h2><p id="bbf5" class="pw-post-body-paragraph lg lh gc li b lj nd ll lm ln ne lp lq lr nf lt lu lv ng lx ly lz nh mb mc md fk bk" data-selectable-paragraph="">In this tutorial, we learned how to use n8n to build a simple AI Agent that can answer questions and create calendar events in Google Calendar. You can expand this workflow by adding more nodes to handle complex tasks or integrate with other services. Hopefully, this guide helps you get started with n8n and AI Agents.</p>								</div>
				</div>
					</div>
				</div>
				</div><p>The post <a href="https://mynavitechtus.com/automating-tasks-with-ai-agent-using-n8n/">Automating Tasks with AI Agent Using n8n</a> first appeared on <a href="https://mynavitechtus.com">Mynavi TechTus Vietnam</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
