Apps in this workflow

Πώς λειτουργεί

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!

Categories

AI
Customer
Communication
Διαφήμιση & Μάρκετινγκ

ΣΥΧΝΈΣ ΕΡΩΤΉΣΕΙΣ

Μπορώ να χρησιμοποιήσω το Latenode αν δεν είμαι εξοικειωμένος με τον προγραμματισμό;

Ναι, το Latenode έχει σχεδιαστεί για χρήστες όλων των επιπέδων δεξιοτήτων. Προσφέρει προηγμένα χαρακτηριστικά για όσους είναι γνώστες της JavaScript και διαισθητικά οπτικά εργαλεία και βοήθεια τεχνητής νοημοσύνης για αρχάριους. Είτε είστε έμπειρος προγραμματιστής είτε αρχάριος, το Latenode παρέχει μια φιλική προς το χρήστη εμπειρία προσαρμοσμένη στο επίπεδο δεξιοτήτων σας.‍‍

Μπορεί το Latenode να ενσωματωθεί με υπηρεσίες και API τρίτων;

Ναι, το Latenode υποστηρίζει την ενσωμάτωση με ένα ευρύ φάσμα υπηρεσιών και API τρίτων. Μπορείτε να συνδέσετε το Latenode με διάφορες διαδικτυακές πλατφόρμες, βάσεις δεδομένων και συστήματα λογισμικού για την αυτοματοποίηση της μεταφοράς δεδομένων, την ενεργοποίηση ενεργειών και τον εξορθολογισμό των ροών εργασίας. Το Latenode παρέχει επίσης εργαλεία και πόρους για τη διευκόλυνση της διαδικασίας ολοκλήρωσης.

Υπάρχει διαθέσιμη δωρεάν έκδοση του Latenode ;

Ναι, το Latenode προσφέρει μια δωρεάν έκδοση που σας επιτρέπει να εξερευνήσετε τις δυνατότητές του. Αυτή η έκδοση περιλαμβάνει ένα υποσύνολο των δυνατοτήτων του Latenode, επιτρέποντάς σας να ξεκινήσετε με την αυτοματοποίηση και να βιώσετε τα οφέλη της. Στη συνέχεια, μπορείτε να αποφασίσετε αν θα αναβαθμίσετε σε ένα επί πληρωμή πρόγραμμα για πρόσθετες δυνατότητες και πόρους.

Τι είναι το Latenode?

Latenode είναι ένα ορατό και διαισθητικό εργαλείο αυτοματοποίησης που έχει σχεδιαστεί για να δίνει τη δυνατότητα στους πελάτες να βελτιώσουν τις ροές εργασίας τους μέσω της αυτοματοποίησης. Επιτρέπει στους πελάτες να δημιουργούν μηχανογραφημένες στρατηγικές μέσω της σύνδεσης διαφορετικών προσφορών στο διαδίκτυο και συσκευών, επιτρέποντάς τους να αυτοματοποιούν τις υποχρεώσεις και να διακοσμούν με επιτυχία την παραγωγικότητα.

How does Latenode help maximize opportunities?

By integrating all your marketing tools in one place through data integration, Latenode helps you gain a comprehensive view of your operations. This enables you to identify potential opportunities more easily and make informed decisions based on accurate data.