Skip to content
Blackbird docs
GitHub

Utilities

This app provides generic utility actions that can come in useful in any bird. It includes utilities for dates and files.

Connecting

  1. Navigate to apps and search for Utilities. If you cannot find Zendesk then click Add App in the top right corner, select Zendesk and add the app to your Blackbird environment.
  2. Click Add Connection.
  3. Name your connection for future reference e.g. ‘My utilities’.
  4. Click Connect.

1700129917822

Actions

Dates

  • Generate date generates the date and time at the moment of execution. Optionally, you can add or subtract days, hours and minutes. Useful for setting deadlines in the future or for generating time intervals for querying data. Optionally, you can also add your own value for date. The new generated date will be relative to this date.
  • Format date takes a date and formats it into a human readable string. The selectable format documentation can be found here. Optionally a culture (locale) can be added as well.

Files

  • Get file character count returns number of characters in the file (supported file types: doc, docx, txt, pdf).
  • Get file word count returns number of words in the file (supported file types: doc, docx, txt, pdf).
  • Get file name information returns the name of a file, with or without extension, and the extension.
  • Change file name takes a file and a text input. The filename (without extension) is renamed and the file is returned as output.
  • Sanitize file name removes any defined characters from a file name (without extension).

XML Files

  • Bump version string Bump version string.
  • Get XML file property Get XML file property.
  • Change XML file property Change XML file property.

Texts

  • Count characters in text returns number of chracters in text.
  • Count words in text returns number of words in text.
  • Sanitize text removes any defined characters from a text.
  • Extract using Regex returns the first match from the provided text using a Regular Expression as input.
  • Extract many using Regex returns all matches from the provided text using a Regular Expression as input.
  • Replace using Regex use Regular Expressions to search and replace within text
  • Convert text to document Converts text to txt, doc or docx document.
  • Convert document to text Extracts document’s text. Document must be in docx/doc, pdf or txt format.

Arrays

  • Array contains checks if an array contains a certain entry.
  • Deduplicate Array Returns only unique elements.

Numbers

  • Generate Range Generate a range by providing start and end numbers.

Scraping

  • Extract web page content Get raw and unformatted content from a URL as text.
  • Extract HTML content Get raw and unformatted content from an HTML file.

Feedback

Do you want to use this app or do you have feedback on our implementation? Reach out to us using the established channels or create an issue.