이 워크플로우의 앱

작동 방식

In manual customer support, businesses often struggle with delays in responses and limited availability, which can lead to decreased customer satisfaction and loss of potential revenue. However, with AI in customer support, embodied in an AI-powered customer service system, these challenges are alleviated. AI-based customer support enables businesses to provide round-the-clock support, ensuring prompt responses to customer inquiries at any hour. This not only enhances efficiency but also boosts customer satisfaction levels. By leveraging AI customer services, companies can overcome the limitations of manual support and maintain a competitive edge in the market. Additionally, AI chat support facilitates personalized interactions, further enhancing the customer experience.

By following the detailed step-by-step instructions outlined below, you'll be able to set up your own automated email response system in no time. This system will enable your customer support chatbot AI Assistant to handle customer inquiries seamlessly, referencing attached files as needed to provide comprehensive answers.

Let's dive in and see how to create this powerful tool to enhance your ai customer support workflow.

Requirements:

  • ChatGPT Assistant API access
  • Latenode account

Step 1: Creating GPT Assistant & API Key

Log in and Navigate to Assistants:

Create a New Assistant:

  • Click on the "Create" button in the upper right corner.
  • Provide a name for your assistant, such as "AI Customer Service Bot."
  • Specify instructions for how you want it to respond, including context about using attached files.
  • Choose a model and select available tools, enabling file retrieval.
Illustation how to create a new AI assistent

Add Files:

  • Upload any files that the assistant may need to reference, ensuring file retrieval is enabled.

Generate API Key:

  • Copy the assistant's ID.
  • Navigate to API keys and create a new key.
  • Save the API key for later use.

Step 2: Creating the Latenode Scenario with AI based customer support

Now, we'll set up the automation scenario in Latenode with Ai for customer service, incorporating chatbot customer support.

Illustration of Latenode Scenario How to create Support AI assistent

Authorization Token:

  • Go to Authorizations and create a new authorization for Google Workspace, specifically for Gmail.
  • Use the email address where your users will send their questions to obtain an access token.

Create Scenario:

  • Navigate to scenarios and create a new one.
  • Add the first node, "Create Thread."

Creating a Thread:

  • Inside the "Create Thread" node, insert your OpenAI API key in the authorization column and click "run once" to generate a thread ID.
Illustration how to create a Theard in scenario

Schedule Trigger:

  • Add a schedule trigger node and set the activation period and timezone.
Illustration how to create a Schedule Trigger in scenario

Get List of Messages:

  • Add an HTTP-request node to fetch a list of unread messages from your mailbox.
  • Configure the node with the appropriate URL, replacing {userId} with your email address, and add "?q=is:unread" to retrieve only unread messages.
  • Set the method to "GET" and include the authorization token.

Iterator:

  • Add an iterator node to process each message in the array obtained from the previous node.
Illustration how to add an iterator in scenario

Get Messages:

  • Add another HTTP-request node to retrieve the data from each unread message.

  • Configure the node with the appropriate URL using the message ID obtained from the iterator.

JavaScript Node:

  • Add a JavaScript node to process sender emails and email bodies.
  • Employ the provided code or customize it according to your requirements, enhancing AI-powered customer support.

    Here’s the code that you can put here:

export default async function run({ execution_id, input, data }) {
  let headers = JSON.parse(data["{{6.body.payload.headers}}"]); // Corrected the data path
  // from
  const email_from = headers.find((item) => item.name === "From");
  const email_from_value = email_from.value.match(/<([^>]+)>/)[1]; // Use regex to extract email

  // snippet (content)
  const email_content = data["{{6.body.snippet}}"]; // Corrected the data path

  return {
    "email_from": email_from_value,
    "email_content": email_content
  };
}
  • Ensure to replace the number of the previous node accordingly.
Illustration of code you need to this scenario

Create Message:

  • Add a ChatGPT node to generate a response message using the extracted email body.
Illustration how to create a right message in scenario
  • Insert your OpenAI API key and Thread ID.

Create Run:

  • Add a node to send the message to the assistant.
  • Insert OpenAI API key, Thread ID, and Assistant ID.
  • Choose the model version and set "true" in the Retrieval field.

Gmail Node:

  • Select the Gmail "send message" node and configure it with the necessary details.
  • Use the email_from variable from the JavaScript node in the "To" field.
  • Include the email body from the Create Run node.

Modify Messages:

  • Add a request to mark messages as read.

Choose raw format of the body and insert this:

{

  "removeLabelIds": ["UNREAD"]

}

  • Configure the node with the appropriate URL and method.
  • Include the necessary key-value pairs.

Save the scenario, deploy it, and here you are! You have an AI powered customer service assistant which can answer customer emails for you!

결론

In conclusion, leveraging AI in customer service and chatbot customer support can revolutionize customer interaction. Integrating AI for customer support streamlines processes, while AI-powered customer service enhances satisfaction. Adopting AI customer care enables accurate issue resolution. AI tech support offers round-the-clock assistance. Deploying an AI assistant to handle customer emails amplifies efficiency. 

For assistance, reach out to Latenode's Discord community. 

Now, deploy your scenario and enjoy the AI support benefits of automated email response!

카테고리

AI
Customer
커뮤니케이션
광고 및 마케팅

자주 묻는 질문

프로그래밍에 익숙하지 않은 경우 Latenode 을 사용할 수 있나요?

예, Latenode 은 모든 기술 수준의 사용자를 위해 설계되었습니다. 자바스크립트에 능숙한 사용자를 위한 고급 기능과 초보자를 위한 직관적인 시각적 도구 및 AI 지원을 제공합니다. 숙련된 개발자이든 초보자이든 Latenode 은 사용자의 기술 수준에 맞는 사용자 친화적인 환경을 제공합니다.‍‍

Latenode 을 타사 서비스 및 API와 통합할 수 있나요?

예, Latenode 은 다양한 타사 서비스 및 API와의 통합을 지원합니다. Latenode 을 다양한 온라인 플랫폼, 데이터베이스 및 소프트웨어 시스템에 연결하여 데이터 전송을 자동화하고 작업을 트리거하며 워크플로우를 간소화할 수 있습니다. Latenode 또한 통합 프로세스를 용이하게 하는 도구와 리소스를 제공합니다.

Latenode 무료 버전이 있나요?

예, Latenode 에서는 기능을 살펴볼 수 있는 무료 버전을 제공합니다. 이 버전에는 Latenode 의 일부 기능이 포함되어 있어 자동화를 시작하고 그 이점을 경험할 수 있습니다. 그런 다음 추가 기능 및 리소스를 위해 유료 요금제로 업그레이드할지 여부를 결정할 수 있습니다.

Latenode 란 무엇인가요?

Latenode 는 고객이 자동화를 통해 워크플로우를 간소화할 수 있도록 설계된 가시적이고 직관적인 자동화 도구입니다. 이를 통해 고객은 다양한 인터넷 서비스와 가젯을 연결하여 전산화 전략을 수립함으로써 의무를 자동화하고 생산성을 성공적으로 꾸밀 수 있습니다.

Latenode 어떻게 기회를 극대화할 수 있나요?

데이터 통합을 통해 모든 마케팅 도구를 한 곳에 통합함으로써 Latenode 운영 현황을 종합적으로 파악할 수 있습니다. 이를 통해 잠재적 기회를 더 쉽게 파악하고 정확한 데이터를 기반으로 정보에 입각한 의사 결정을 내릴 수 있습니다.