Maya Docs
  • Introducing Maya
  • Product
    • Command Bar
    • Workspaces
      • Importing JSON Workflows
    • Modules
      • Config Profiles
    • Node Library
      • Common
        • Inject
        • Debug
        • Complete
        • Catch
        • Status
      • Functions
        • Function
        • Change
        • Switch
        • Template
        • Range
        • Delay
        • Trigger
        • Filter
        • Exec
      • Storage
        • Read File
        • Modify File
        • Watch Files
      • Parser
        • CSV
        • HTML
        • JSON
        • XML
        • YAML
      • Sequence
        • Split Into Array
        • Join Array
        • Sort Array
        • Batch Messages
      • Dashboard
        • Button
        • Chart
        • Slider
        • Gauge
        • Switch
        • Dropdown
        • Numeric Input
        • Text Input
        • Template
        • Date Picker
        • Colour Picker
        • Form
        • Display Text
        • Audio Out
      • Network
        • Websockets
          • Websocket Out
          • Websocket In
        • HTTP
          • HTTP In
          • HTTP Response
          • HTTP Request
      • Command Bar
        • Bot Scheduler
        • Bot Command In
        • Bot Command Out
          • Bot Response
          • Bot Web Card
          • Bot Dash Card
        • Custom Search In
        • Custom Search Out
        • Bot Info
      • Spotify
        • Get Playback State
        • Control Playback
        • Play
        • Library
        • Playlist
        • Search
    • Web Extension
      • Selecting Elements
      • Making a web automation skill in 5 minutes
    • Troubleshooting
    • Changelog
  • Tutorials
    • Install skills/modules from store
    • Building fundamentals
    • Connect different services
      • Spotify + Figma
      • Zoom + Google Calendar
    • Browser Automation
      • Control YouTube - Easy
      • Scrape Twitter - Moderate
      • Manage Gmail Inbox - Hard
Powered by GitBook
On this page
  • Inputs
  • Outputs

Was this helpful?

  1. Product
  2. Node Library
  3. Command Bar

Custom Search Out

This is an out node that sends search results back to the command bar.

Inputs

This needs msg.payload to be a list of formatted items for searching.

  • payload (array) : Array of search items. Each item object should be a JSON object of the form

    • value (string) : Main value used for searching and display

    • meta (object) : miscellaneous meta data

      • subtext (string) : subtext to show in list display

      • icon (url) : icon to show in list display

      • other key-value pairs can also be included in this object.

//Sample msg.payload
[
    {
        "value":"Template 1",
        "meta":{
            "subtext":"This is template 1"
            "icon" : "https://favicon.com/example1.png"
        }
    },
    {
        "value":"Template 2",
        "meta":{
            "subtext":"This is template 2"
            "icon" : "https://favicon.com/example2.png"
        }
    }
]

Outputs

No outputs since this is an out-node.

PreviousCustom Search InNextBot Info

Last updated 3 years ago

Was this helpful?