Skip to main content
The Redis node adds Redis operations to your workflows. Add it on the canvas or ask the AI builder for it by name, then pick an operation and fill in its fields. Redis also includes 2 trigger operations (marked in the tables below) that can start a workflow when something happens in Redis.
You can wire the Redis node into an AI agent as a tool provider: the agent calls the operations you allow. See Agent tools.

Credentials

Connect Redis under Credentials in the node settings. See Connecting credentials for the general flow.

Standard

Enter the values manually when creating the credential. Get your credentials here.

Read only

Enter the values manually when creating the credential. Get your credentials here.

ACL

Enter the values manually when creating the credential. Get your credentials here.

Operations

Bit

OperationIDDescriptionTrigger
Count Set Bitscount_set_bitsBitcount operation
Find First Bit Positionfind_first_bit_positionBitpos operation
Perform Bitfield Operationperform_bitfield_operationBitfield operation
Perform Bitfield Operation Readonlyperform_bitfield_operation_readonlyRead-only bitfield operations
Perform Bitwise Operationperform_bitwise_operationBitop operation

Connection

OperationIDDescriptionTrigger
Authenticate to Serverauthenticate_to_serverAuthenticate to the server
Close Connectionclose_connectionClose the connection
Echo Messageecho_messageEcho the given string
Get Client Connection Idget_client_connection_idGet client connection ID
Get Client Connection Infoget_client_connection_infoGet client connection info
Get Client Connection Nameget_client_connection_nameGet the connection name
Handshake with Serverhandshake_with_serverHandshake with server
List All Client Connectionslist_all_client_connectionsList all client connections
Ping Serverping_serverPing the server
Reset Connection Statereset_connection_stateReset the connection state
Select Databaseselect_databaseSelect the database
Set Client Connection Attributesset_client_connection_attributesSet client connection attributes
Set Client Connection Nameset_client_connection_nameSet the connection name

Function

OperationIDDescriptionTrigger
Call Readonly Redis Functioncall_readonly_redis_functionCall read-only Redis function
Call Redis Functioncall_redis_functionCall Redis function
Delete All Function Librariesdelete_all_function_librariesDelete all function libraries
Delete Function Librarydelete_function_libraryDelete Redis function library
Get Function Execution Statsget_function_execution_statsGet function execution statistics
List Function Librarieslist_function_librariesList all function libraries
Load Function Libraryload_function_libraryLoad Redis function library

Geospatial

OperationIDDescriptionTrigger
Add Geospatial Membersadd_geospatial_membersGeoadd operation
Find Members in Radiusfind_members_in_radiusGeoradius operation
Find Members in Radius from Memberfind_members_in_radius_from_memberGeoradiusbymember operation
Find Members in Radius from Member Readonlyfind_members_in_radius_from_member_readonlyRead-only query radius with center member
Find Members in Radius Readonlyfind_members_in_radius_readonlyRead-only query radius with center coordinates
Get Distance Between Geospatial Membersget_distance_between_geospatial_membersGeodist operation
Get Geohash for Membersget_geohash_for_membersGeohash operation
Get Position of Membersget_position_of_membersGeopos operation
Search and Store Geospatial Memberssearch_and_store_geospatial_membersGeosearchstore operation
Search Geospatial Memberssearch_geospatial_membersGeosearch operation

Hash

OperationIDDescriptionTrigger
Check If Hash Field Existscheck_if_hash_field_existsCheck if a hash field exists
Delete Hash Fieldsdelete_hash_fieldsDelete one or more hash fields
Get All Hash Field Namesget_all_hash_field_namesGet all field names in a hash
Get All Hash Fields and Valuesget_all_hash_fields_and_valuesGet all fields and values in a hash
Get All Hash Valuesget_all_hash_valuesGet all values in a hash
Get and Delete Hash Fieldget_and_delete_hash_fieldGet hash field value and delete it
Get Hash Field Countget_hash_field_countGet the number of fields in a hash
Get Hash Field Valueget_hash_field_valueGet the value of a hash field
Get Hash Field Value Lengthget_hash_field_value_lengthHstrlen operation
Get Hash Field with Expirationget_hash_field_with_expirationGet hash field with expiration
Get Multiple Hash Field Valuesget_multiple_hash_field_valuesGet the values of multiple hash fields
Get Random Hash Fieldget_random_hash_fieldHrandfield operation
Increment Hash Field by Amountincrement_hash_field_by_amountHincrby operation
Increment Hash Field by Floatincrement_hash_field_by_floatHincrbyfloat operation
Scan Hash Fields Iterativelyscan_hash_fields_iterativelyHscan operation
Set Hash Field If Not Existsset_hash_field_if_not_existsHsetnx operation
Set Hash Field Valueset_hash_field_valueSet the value of a hash field
Set Hash Field with Expirationset_hash_field_with_expirationSet hash field with expiration
Set Multiple Hash Fieldsset_multiple_hash_fieldsSet multiple hash fields

HyperLogLog

OperationIDDescriptionTrigger
Add to Hyperloglogadd_to_hyperloglogPfadd operation
Count Hyperloglog Cardinalitycount_hyperloglog_cardinalityPfcount operation
Merge Hyperloglog Setsmerge_hyperloglog_setsPfmerge operation

JSON

OperationIDDescriptionTrigger
Append to Json Arrayappend_to_json_arrayAppend values to JSON array
Append to Json Stringappend_to_json_stringAppend string to JSON string value
Clear Json Containerclear_json_containerClear container values (arrays/objects)
Delete Json Valuedelete_json_valueDelete JSON value at path
Find Index in Json Arrayfind_index_in_json_arrayFind index of value in JSON array
Get Json Array Lengthget_json_array_lengthGet length of JSON array
Get Json from Multiple Keysget_json_from_multiple_keysGet JSON values from multiple keys
Get Json in Resp Formatget_json_in_resp_formatReturn JSON value in RESP form
Get Json Object Key Countget_json_object_key_countGet number of keys in JSON object
Get Json Object Keysget_json_object_keysGet keys of JSON object
Get Json String Lengthget_json_string_lengthGet length of JSON string
Get Json Valueget_json_valueGet JSON value from path
Get Json Value Typeget_json_value_typeGet type of JSON value
Increment Json Numberincrement_json_numberIncrement JSON number by value
Insert Into Json Arrayinsert_into_json_arrayInsert values into JSON array at index
Merge Json Valuesmerge_json_valuesMerge JSON values
Multiply Json Numbermultiply_json_numberMultiply JSON number by value
Pop from Json Arraypop_from_json_arrayRemove and return element from JSON array
Set Json in Multiple Keysset_json_in_multiple_keysSet JSON values in multiple keys atomically
Set Json Valueset_json_valueSet JSON value at path
Toggle Json Booleantoggle_json_booleanToggle JSON boolean value
Trim Json Arraytrim_json_arrayTrim JSON array to specified range

Key

OperationIDDescriptionTrigger
Append Value to Keyappend_value_to_keyAppend a value to a key
Check If Keys Existcheck_if_keys_existCheck if one or more keys exist
Copy Keycopy_keyCopy operation
Decrement Key by Amountdecrement_key_by_amountDecrby operation
Decrement Key by Onedecrement_key_by_oneDecrement the integer value of a key by 1
Delete All Keys All Databasesdelete_all_keys_all_databasesRemove all keys from all databases
Delete All Keys Current Databasedelete_all_keys_current_databaseRemove all keys from current database
Delete Keysdelete_keysDelete one or more keys
Dump Serialized Keydump_serialized_keyDump operation
Find Keys Matching Patternfind_keys_matching_patternFind all keys matching a pattern
Get and Delete Keyget_and_delete_keyGetdel operation
Get and Set Key Valueget_and_set_key_valueGetset operation
Get Database Key Countget_database_key_countGet the number of keys in database
Get Key Expiration Unix Timestampget_key_expiration_unix_timestampExpiretime operation
Get Key Expiration Unix Timestamp Millisecondsget_key_expiration_unix_timestamp_millisecondsPexpiretime operation
Get Key Time to Liveget_key_time_to_liveGet the time to live for a key
Get Key Time to Live Millisecondsget_key_time_to_live_millisecondsPttl operation
Get Key Valueget_key_valueGet the value of a key
Get Key Value Typeget_key_value_typeGet the type of a key
Get Multiple Key Valuesget_multiple_key_valuesGet the values of multiple keys
Get Random Keyget_random_keyRandomkey operation
Get with Expiration Optionsget_with_expiration_optionsGetex operation
Increment Key by Amountincrement_key_by_amountIncrement the integer value of a key by a given amount
Increment Key by Floatincrement_key_by_floatIncrbyfloat operation
Increment Key by Oneincrement_key_by_oneIncrement the integer value of a key by 1
Rename Keyrename_keyRename a key
Rename Key If New Not Existsrename_key_if_new_not_existsRenamenx operation
Restore Serialized Keyrestore_serialized_keyRestore operation
Scan Keys Iterativelyscan_keys_iterativelyScan operation
Set Key Expiration at Unix Timestampset_key_expiration_at_unix_timestampExpireat operation
Set Key Expiration at Unix Timestamp Millisecondsset_key_expiration_at_unix_timestamp_millisecondsPexpireat operation
Set Key Expiration Millisecondsset_key_expiration_millisecondsPexpire operation
Set Key Expiration Secondsset_key_expiration_secondsSet a timeout on a key
Set Key If Not Existsset_key_if_not_existsSetnx operation
Set Key Valueset_key_valueSet the value of a key
Set Key Value with Expiration Millisecondsset_key_value_with_expiration_millisecondsPsetex operation
Set Key Value with Expiration Secondsset_key_value_with_expiration_secondsSetex operation
Set Multiple Key Value Pairsset_multiple_key_value_pairsSet multiple key-value pairs
Set Multiple Pairs If Not Existset_multiple_pairs_if_not_existMsetnx operation
Touch Keys to Update Access Timetouch_keys_to_update_access_timeTouch operation
Unlink Keys Asyncunlink_keys_asyncUnlink operation

List

OperationIDDescriptionTrigger
Find Element Position in Listfind_element_position_in_listLpos operation
Get List Element by Indexget_list_element_by_indexGet an element from a list by index
Get List Lengthget_list_lengthGet the length of a list
Get List Rangeget_list_rangeGet a range of elements from a list
Insert Into Listinsert_into_listLinsert operation
Move Element Between Listsmove_element_between_listsLmove operation
Pop and Push Across Listspop_and_push_across_listsRpoplpush operation
Pop and Push Across Lists Blockingpop_and_push_across_lists_blockingPop from source, push to dest, block if empty
Pop and Push Between Lists Blockingpop_and_push_between_lists_blockingPop element from source, push to dest, block if empty
Pop First Elementpop_first_elementRemove and return the first element of a list
Pop First Element Blockingpop_first_element_blockingRemove and get the first element, block if empty
Pop from Multiple Listspop_from_multiple_listsPop elements from multiple lists
Pop from Multiple Lists Blockingpop_from_multiple_lists_blockingPop elements from lists, block if empty
Pop Last Elementpop_last_elementRemove and return the last element of a list
Pop Last Element Blockingpop_last_element_blockingRemove and get the last element, block if empty
Push to List Beginningpush_to_list_beginningPush values to the beginning of a list
Push to List Beginning If Existspush_to_list_beginning_if_existsLpushx operation
Push to List Endpush_to_list_endPush values to the end of a list
Push to List End If Existspush_to_list_end_if_existsRpushx operation
Remove Elements from Listremove_elements_from_listLrem operation
Set List Element by Indexset_list_element_by_indexSet an element in a list by index
Trim List to Rangetrim_list_to_rangeLtrim operation

PubSub

OperationIDDescriptionTrigger
Get Pubsub System Stateget_pubsub_system_stateGet pub/sub system state
Publish Message to Channelpublish_message_to_channelPost a message to a channel
Unsubscribe from Channel Patternsunsubscribe_from_channel_patternsUnsubscribe from channel patterns
Unsubscribe from Channelsunsubscribe_from_channelsUnsubscribe from channels

Script

OperationIDDescriptionTrigger
Check If Scripts Existcheck_if_scripts_existCheck if scripts exist
Execute Lua Scriptexecute_lua_scriptExecute Lua script
Execute Lua Script by Shaexecute_lua_script_by_shaExecute Lua script by SHA1 digest
Execute Readonly Lua Scriptexecute_readonly_lua_scriptExecute read-only Lua script
Execute Readonly Lua Script by Shaexecute_readonly_lua_script_by_shaExecute read-only Lua script by SHA1
Load Script Into Cacheload_script_into_cacheLoad script into cache
Remove All Cached Scriptsremove_all_cached_scriptsRemove all scripts from script cache

Server

OperationIDDescriptionTrigger
Execute Commands in Pipelineexecute_commands_in_pipelineExecute multiple commands in a single request
Get Server Timeget_server_timeGet server time
Listen for Server Requestslisten_for_server_requestsListen for all requests received by server
Sort List Set or Sorted Setsort_list_set_or_sorted_setSort operation

Set

OperationIDDescriptionTrigger
Add Members to Setadd_members_to_setAdd members to a set
Check If Member in Setcheck_if_member_in_setCheck if a value is a member of a set
Check Multiple Members in Setcheck_multiple_members_in_setSmismember operation
Get All Set Membersget_all_set_membersGet all members of a set
Get Random Set Membersget_random_set_membersSrandmember operation
Get Set Differenceget_set_differenceReturn the difference of multiple sets
Get Set Intersectionget_set_intersectionReturn the intersection of multiple sets
Get Set Intersection Cardinalityget_set_intersection_cardinalityGet cardinality of intersection between sets
Get Set Member Countget_set_member_countGet the number of members in a set
Get Set Unionget_set_unionReturn the union of multiple sets
Move Member Between Setsmove_member_between_setsSmove operation
Pop Random Members from Setpop_random_members_from_setSpop operation
Remove Members from Setremove_members_from_setRemove members from a set
Scan Set Members Iterativelyscan_set_members_iterativelyIncrementally iterate set members
Store Set Differencestore_set_differenceSdiffstore operation
Store Set Intersectionstore_set_intersectionSinterstore operation
Store Set Unionstore_set_unionSunionstore operation

Sorted set

OperationIDDescriptionTrigger
Add Members to Sorted Setadd_members_to_sorted_setAdd members to a sorted set with scores
Count Sorted Set Members in Lexical Rangecount_sorted_set_members_in_lexical_rangeZlexcount operation
Count Sorted Set Members in Score Rangecount_sorted_set_members_in_score_rangeZcount operation
Get Multiple Sorted Set Member Scoresget_multiple_sorted_set_member_scoresZmscore operation
Get Random Sorted Set Membersget_random_sorted_set_membersZrandmember operation
Get Sorted Set Differenceget_sorted_set_differenceGet difference between sorted sets
Get Sorted Set Intersectionget_sorted_set_intersectionGet intersection of sorted sets
Get Sorted Set Intersection Cardinalityget_sorted_set_intersection_cardinalityGet cardinality of sorted set intersection
Get Sorted Set Member Countget_sorted_set_member_countGet the number of members in a sorted set
Get Sorted Set Member Rangeget_sorted_set_member_rangeGet a range of members from a sorted set
Get Sorted Set Member Range Reverseget_sorted_set_member_range_reverseZrevrange operation
Get Sorted Set Member Rankget_sorted_set_member_rankGet the rank of a member in a sorted set
Get Sorted Set Member Rank Reverseget_sorted_set_member_rank_reverseZrevrank operation
Get Sorted Set Member Scoreget_sorted_set_member_scoreGet the score of a member in a sorted set
Get Sorted Set Range by Lexical Orderget_sorted_set_range_by_lexical_orderZrangebylex operation
Get Sorted Set Range by Lexical Order Reverseget_sorted_set_range_by_lexical_order_reverseZrevrangebylex operation
Get Sorted Set Range by Scoreget_sorted_set_range_by_scoreZrangebyscore operation
Get Sorted Set Range by Score Reverseget_sorted_set_range_by_score_reverseZrevrangebyscore operation
Get Sorted Set Unionget_sorted_set_unionGet union of sorted sets
Increment Sorted Set Member Scoreincrement_sorted_set_member_scoreZincrby operation
Pop from Sorted Setspop_from_sorted_setsPop elements from sorted sets
Pop from Sorted Sets Blockingpop_from_sorted_sets_blockingPop elements from sorted sets, block if empty
Pop Highest Score Memberpop_highest_score_memberZpopmax operation
Pop Highest Score Member Blockingpop_highest_score_member_blockingRemove and return highest scored member, block if empty
Pop Lowest Score Memberpop_lowest_score_memberZpopmin operation
Pop Lowest Score Member Blockingpop_lowest_score_member_blockingRemove and return lowest scored member, block if empty
Remove Members from Sorted Setremove_members_from_sorted_setRemove members from a sorted set
Remove Sorted Set Members by Lexical Rangeremove_sorted_set_members_by_lexical_rangeZremrangebylex operation
Remove Sorted Set Members by Rank Rangeremove_sorted_set_members_by_rank_rangeZremrangebyrank operation
Remove Sorted Set Members by Score Rangeremove_sorted_set_members_by_score_rangeZremrangebyscore operation
Scan Sorted Set Members Iterativelyscan_sorted_set_members_iterativelyZscan operation
Store Sorted Set Differencestore_sorted_set_differenceStore difference of sorted sets
Store Sorted Set Intersectionstore_sorted_set_intersectionStore intersection of sorted sets
Store Sorted Set Rangestore_sorted_set_rangeStore range from sorted set
Store Sorted Set Unionstore_sorted_set_unionStore union of sorted sets

Stream

OperationIDDescriptionTrigger
Acknowledge Stream Messagesacknowledge_stream_messagesAcknowledge stream messages
Append to Streamappend_to_streamAppend a new entry to a stream
Auto Claim Pending Stream Messagesauto_claim_pending_stream_messagesAutomatically claim pending messages
Claim Pending Stream Messagesclaim_pending_stream_messagesClaim pending messages from another consumer
Create Stream Consumer Groupcreate_stream_consumer_groupCreate a consumer group
Delete Stream Entriesdelete_stream_entriesRemove entries from a stream
Destroy Stream Consumer Groupdestroy_stream_consumer_groupDestroy a consumer group
Get Pending Stream Messagesget_pending_stream_messagesGet information about pending messages
Get Stream Entry Countget_stream_entry_countGet the number of entries in a stream
Get Stream Entry Rangeget_stream_entry_rangeReturn a range of entries from a stream
Get Stream Entry Range Reverseget_stream_entry_range_reverseReturn a range of entries in reverse order
Get Stream Informationget_stream_informationGet information about a stream
Read from Consumer Groupread_from_consumer_groupRead data from stream consumer group
Read from Streamsread_from_streamsRead data from one or more streams
Set Consumer Group Last Delivered Idset_consumer_group_last_delivered_idSet the consumer group last delivered ID
Trim Stream to Lengthtrim_stream_to_lengthTrim stream to a given length

String

OperationIDDescriptionTrigger
Get Bit at Offsetget_bit_at_offsetGetbit operation
Get String Value Lengthget_string_value_lengthGet the length of the value stored at a key
Get Substring by Rangeget_substring_by_rangeGetrange operation
Set Bit at Offsetset_bit_at_offsetSetbit operation
Set String Range at Offsetset_string_range_at_offsetSetrange operation

Transaction

OperationIDDescriptionTrigger
Discard Transaction Commandsdiscard_transaction_commandsDiscard all commands in transaction
Execute Transactionexecute_transactionExecute all commands in transaction
Start Transactionstart_transactionMark the start of a transaction block
Stop Watching Keysstop_watching_keysUnwatch all keys
Watch Keys for Transactionwatch_keys_for_transactionWatch keys for conditional execution

Other

OperationIDDescriptionTrigger
Subscribe to Channel Patternssubscribe_to_channel_patternsSubscribe to channels matching patternsYes
Subscribe to Channelssubscribe_to_channelsSubscribe to channelsYes