Contact us

Leave your details below and our team members will get in touch with you.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
↖ All posts

Automating Workflows: NeurochainAI and Make for Smarter Integrations

NeurochainAI takes automation to the next level by empowering workflows with intelligent AI processing. Combined with Make (formerly Integromat), NeurochainAI transforms routine tasks into AI-powered workflows, delivering smarter results with ease. In this article, we’ll explore the possibilities of using NeurochainAI with Make, and as an example, show how to create a Slack AI bot that processes messages in a public channel and responds intelligently in real-time.

Understanding Make and Its Role

Make is a no-code workflow builder that enables users to connect apps, APIs, and services into workflows called scenarios. It provides a visual interface to link tasks seamlessly, allowing even non-technical users to design complex automations.

By integrating NeurochainAI with Make, users gain access to the AI power of tasks like text summarization, response generation, and data analysis, all within their workflows.

Why Use NeurochainAI with Make?

When you bring NeurochainAI into your workflows, you unlock:

  • Intelligent Automation: Automate tasks requiring reasoning, creativity, or advanced analysis.
  • Scalability: NeurochainAI’s Distributed Inference Network ensures efficient processing, even at high demand.
  • Flexibility: Easily integrate NeurochainAI with other apps and services in Make, such as Slack, Google Sheets, or CRMs.
  • Ease of Use: NeurochainAI’s robust API integrates seamlessly into Make’s HTTP module, making it accessible to anyone.

To demonstrate how NeurochainAI works with Make, let’s build an example scenario: a Slack bot that monitors messages in a channel, processes them with NeurochainAI, and posts the AI-generated response back to the channel.

Example: Building a Slack AI Bot with NeurochainAI

This Slack bot will read messages posted in a public channel, send them to NeurochainAI for processing, and respond with an AI-generated reply.

Step 1: Monitor Slack Messages

  1. Add the Slack - Watch Public Channel Messages Module:some text
    • Drag the Slack - Watch Public Channel Messages module to your scenario.
    • Connect Your Slack Account: Follow the prompts to authorize Make to access your Slack workspace.
    • Select the Channel: Choose the channel you want the bot to monitor for new messages.

Whenever a new message is posted in the selected channel, this module will trigger the workflow and pass the message data to the next step.

Step 2: Process the Message with NeurochainAI

Next, use the HTTP Request module to send the captured message to NeurochainAI for processing.

  1. Add the HTTP Request Module:some text
    • Drag the HTTP Request module into your scenario.
  2. Configure the HTTP Request Module:some text
    • Method: POST
    • URL: https://ncmb.neurochain.io/tasks/message
  3. Headers: Add the required headers for authentication and data format:some text
    • Name: Authorization
      Value: Bearer YOUR-API-KEY-HERE
      (Replace YOUR-API-KEY-HERE with your actual NeurochainAI API key.)
    • Name: Content-Type
      Value: application/json
  4. Body Type: Select RAW.

Request Content: Use the following JSON payload:


{

  "model": "Meta-Llama-3.1-8B-Instruct-Q6_K.gguf",

  "prompt": "You must respond directly to the user's message, and the message the user sent you is the following message: {{4.text}}",

  "max_tokens": 1024,

  "temperature": 0.6,

  "top_p": 0.95,

  "frequency_penalty": 0,

  "presence_penalty": 1.1

}


  1. some text
    • Replace {{4.text}} with the variable corresponding to the message text from the Slack Trigger module. Use Make’s drag-and-drop mapping feature to link this dynamically.
  2. Enable Parse Response:some text
    • Activate the Parse Response option in the HTTP Request module settings.
    • This ensures that NeurochainAI’s JSON response is automatically processed, allowing you to map the output easily in the next step.

Step 3: Send the AI-Generated Response Back to Slack

Now, use the Slack - Create a Message module to post NeurochainAI’s response back to the Slack channel.

  1. Add the Slack - Create a Message Module:some text
    • Drag this module into your scenario.
  2. Configure the Module:some text
    • Connect Your Slack Account: Use the same account connection as the trigger module.
    • Select the Channel: Choose the same channel monitored in Step 1.

Text Field: Map the AI-generated response to this field. Typically, it will look like this:



{{10.data.choices[].text}}

Once configured, this module will send NeurochainAI’s response to the Slack channel as a message.

How the Slack AI Bot Works

When the scenario runs:

  1. Slack messages posted in the monitored channel trigger the workflow.
  2. The HTTP Request module sends the message to NeurochainAI for processing.
  3. NeurochainAI generates a response based on the message and sends it back.
  4. The Slack module posts the AI-generated response in the same channel.

Beyond Slack: More Possibilities with NeurochainAI

The Slack AI bot is just one example of what’s possible with NeurochainAI and Make. Here are more use cases to inspire you:

  • Customer Support: Automatically respond to customer inquiries with AI-generated replies or summaries.
  • Marketing Automation: Generate personalized emails, social media posts, or campaign ideas.
  • Data Analysis: Process and extract insights from survey responses, reports, or forms.
  • Team Collaboration: Use NeurochainAI to summarize discussions or provide intelligent suggestions in team tools like Slack or Microsoft Teams.
  • Creative Content Generation: Automate the creation of blog ideas, product descriptions, or creative content tailored to your audience.

Why NeurochainAI is the Heart of Smarter Automation

NeurochainAI brings intelligence to your workflows, making automation not just faster but smarter. Key benefits include:

  • High Performance: NeurochainAI’s Distributed Inference Network ensures efficient, reliable processing.
  • Flexible Models: Choose from AI models optimized for text generation, data analysis, and more.
  • Seamless Integration: Connect NeurochainAI to Make or any other platform using our robust API.
  • Cost Efficiency: Pay only for the resources you use, making advanced AI accessible to everyone.

Start Building Smarter Workflows Today

Ready to create intelligent workflows with NeurochainAI? Visit our NeurochainAI Guides to explore templates, tutorials, and resources. Whether you’re automating customer support, processing data, or generating creative content, NeurochainAI is your partner for smarter, AI-driven automation.

Continue reading
2024-12-05