Build Slack-To-Anything: Bi-Directional Connection Across Your Entire Stack

Noca Chatbot Builder

Build a Slack chatbot that connects to your entire tech stack — read and write data without leaving Slack

In this guide, we’ll show you how to build a chatbot inside Slack using Noca AI’s chatbot application builder. The bot will be able to look up data from Salesforce, NetSuite, and Monday.com, and even create new records — all from a Slack message.

Keep in mind you can connect this chatbot to any systems available in Noca, not just the ones shown in this example.

Watch & Learn


Follow these steps to add and configure it:

Steps:

1

Create a new bot

  • In Noca, navigate to Bots and click New
  • Open the Settings tab on your new bot
  • Add instructions that tell the bot what it knows and how to behave (for example: you are the sales team bot, you know how to answer questions related to opportunities in Salesforce, accounts in Salesforce, sales orders in NetSuite, and items in Monday)
  • Include a rule that prevents the bot from returning its own trigger word in responses — this is important to avoid infinite loops later
2

Add data sources to your bot

  • Under Data Sources in the bot settings, click the plus button to create a new source
  • Choose the system you want to connect (for example, Salesforce)
  • Select the object (for example, Opportunities)
  • Set any conditions to filter the data you want the bot to access
  • Give the data source a clear name (for example, Opportunity Node)
  • Click Go Live on the data source to make it active
  • Repeat for each system and object you want the bot to read from (Salesforce Accounts, NetSuite Sales Orders, Monday Items, etc.)
3

Add an automation to create records

  • Under Automations, create a new automation
  • Describe what the automation should do (for example: when the autonomous trigger is activated, it initiates the create account process in Salesforce)
  • Open the automation flow — you will see an autonomous node that Noca creates automatically
  • After the autonomous node, add your destination node (for example, Salesforce Create Account) and map the fields you want to populate
4

Create a flow to connect Slack to your bot

  • Create a new flow in Noca
  • Start with a Slack node and select the channel that will be monitored for messages
5

Add a condition to prevent infinite loops

  • Add a Logic node and choose an If condition
  • Set the rule: if the message from the Slack channel contains your bot’s trigger word (for example, @Noca or +Noca), pass the message to the chatbot
  • If the message does not contain the trigger word, end the flow — this prevents the bot’s own responses from triggering another loop
6

Connect the condition to your chatbot

  • From the true path of the condition, add your chatbot node
  • Select the bot you created earlier
  • Map the Slack message into the bot’s input
7

Send the bot response back to Slack

  • Add another Slack node after the chatbot
  • Set it to send a message to the same channel
  • Map the bot’s response as the message content
  • If the bot returns files, you can also attach them here
8

Activate the flow and test

  • Click Go Live on the flow to activate it
  • Go to Slack and send a message mentioning your bot (for example: @Noca what is my most recent opportunity created in Salesforce?)
  • Watch the flow process in Noca’s logs in real time
  • Confirm the response appears in the Slack channel with the correct data
9

Test across multiple systems

  • Try asking the bot questions that pull from different data sources (for example: what is the most recent sales order in NetSuite?)
  • Confirm the bot returns the correct data from each system
10

Test the automation to create records

  • Ask the bot to create a record (for example: create an account in Salesforce with the name SlackBotNoca)
  • Go to the destination system (Salesforce) and confirm the new record was created with the correct data

Back to top