Thread Automations Crate
What does the Thread Automations Crate do?
Our Thread Automations Crate establishes a flexible integration framework between Thread and Rewst, enabling various automated processes through webhook integration. Currently, the crate focuses on onboarding automation, capturing user information submitted through Thread Intents and passing it to Rewst workflows for further processing.
Uses the dedicated intent in Thread that collects essential information for different automation scenarios
Currently uses the default Rewst onboarding automation that collects First Name, Last Name, Username, and Email Address
Securely transmits collected data to Rewst via webhooks when an Intent is completed
Enables automatic processing of tasks in Rewst based on the submitted information
Provides confirmation feedback to users about their submitted information directly in the PSA ticket
Maintains security through secret key validation between Thread and Rewst
This Crate doesn’t perform validation on the data beyond what Thread provides natively. Any complex validation logic or business rules would need to be implemented in the Rewst workflow that receives the webhook data.
Why use the Thread Automation Crate?
Continuous monitoring: Automatically detect and processes new requests as they come in through Thread, via webhook
Seamless integration: Connect Thread's user-friendly interface with Rewst's powerful automation capabilities
Efficiency: Eliminate manual data entry and reduce process time by automating information flow
Security: Implement webhook secrets to ensure secure transmission of sensitive data
Unpack the Thread Automations Crate
Set up steps in Thread
Note that the individual setting up the integration must be an admin in Thread.
Log into your Thread account.
Navigate to Thread Admin > Magic AI > Magic Agents > Catalog.
Click Create Intent.
Enter the intent details into their relevant fields exactly as follows:
Intent Name:
Rewst - Onboarding
Describe the intent:
An intent to assist in building new intents within the Magic Agent service catalog by gathering necessary information, including crafting effective prompts for arguments. Think logically about the user’s intent and craft questions to fill in more about the issue or request, like features IT might need. The goal is to ask the right questions to gather accurate information so a Tier 2 IT Service Tech will have all they need to resolve the issue. Keep questions succinct, minimal, logically ordered, and ensure logical consistency.
Visibility filters: Choose the Specific clients option to select your internal or test companies, or modify to specific client types as needed. If you would rather, choose All clients.
Click +Add form field three times to create a total of four form fields, including the one that was available when you first created the intent. Name them each as follows:
First Name
Last Name
Username
Email Address
Note that adding additional fields beyond what is indicated here will require you to configure the Thread wrapper to pass into the Rewst workflow.

Optionally, enter
Reply with the summary of what they provided against the field names, so for instance telling us that the first name they provided was X
in the Describe what the AI should reply field of the External Reply (Optional) submenu.

Keep your browser window with Thread open. In a new tab or window, proceed to steps in Rewst. You'll come back to Thread later.
Set up steps in Rewst
Navigate to Crates > Crate Marketplace in the left side menu of the Rewst platform.
Search for
Thread Automation
.Click on the Crate tile to open its details page.
Click Unpack Crate.
Click Continue.
Enter your time saved.
Click to expand the Webhook accordion menu. Ensure that Enabled is toggled on.
Choose which organizations this Crate should be applied to in the Activate for Organizations drop-down selector, if desired.
Click Unpack.
Navigate to Configuraton > Organization Variables.
Create an organization variable with the name
rewst_thread_webhook_secret
. Change the category of the organization variable to Secret. Enter a secure password into the Value field. Copy this password value somewhere secure. You'll need it for later set up steps in both Rewst and Thread.Navigate to Automations > Workflows.
Search for
[Rewst - Crate] Thread Automations
.Click on the workflow to enter the workflow builder view.
Click
to open the trigger.
Click View Webhook URLs under Trigger Configuration.
Copy the URL. You'll need this URL for further set up steps in Thread.
Find the Secret Key drop-down selector under that Trigger Parameters submenu. Set the organization variable you created earlier.
Click Submit.
Additional setup steps in Thread
Enter the webhook URL copied from Rewst into the API URL field of the Automation (Optional) submenu.
Enter the secret password copied from Rewst into the Headers (Optional) Value of the header field. Enter
x-rewst-secret
into the Key of the header field.Ensure that MagicAI is enabled for the client you are using in Thread.
Click Save in the top right corner of the intent screen.
Use the Crate
Intent fields
You can modify the fields collected in the Thread Intent to match your specific requirements. The default onboarding setup includes First Name, Last Name, Username, and Email Address. Note that adding additional fields will require you to configure the Thread wrapper to pass into the Rewst workflow.
Thread reply message
You can customize the External Reply field in the Intent to provide personalized confirmation messages to users after they submit their information.
Last updated
Was this helpful?