bvstone

GreenTools for Slack (G4SLK) v1.00 Released as Beta

Posted:

GreenTools for Slack (G4SLK) v1.00 Released as Beta

Update:  Check out This Article on G4SLK at IT Jungle/The Four Hundred Magazine!

BVSTools is proud to have released our newest offering, GreenTools for Slack (G4SLK) v1.00 as a beta.  

GreenTools for Slack (G4SLK) provides you with both Command and ILE interfaces to the most popular Slack APIs available for your IBM i.

We have had a couple customers interested in a method other than email to communicate with users from their IBM i (for example sending messages when a job enters MSGW).  We still offer our GreenJab application that lets you communicate with Jabber/XMPP servers, but ever since Google dropped XMPP as their standard for Google Talk, the XMPP standard has really been all but forgotten.  

One of the customers mentioned Slack as a possible solution, and from there it's history.  I realized not only would it be a useful IBM i application, but that I would use it as well!  (Proof of Concept articles are in the works).

The G4SLK application gives you access to commands and functions which allow you to:

G4SLK uses OAuth 2.0 authentication which is easily set up using a simple command from your green screen.

The process is simple and goes like this:

  • Step 1:  Install G4SLK and run the G4SLK Register Service (G4SLKRSVC) Command
  • Step 2: Follow the Instructions And Log into your Slack Account and Team
  • Step 3: Authorize G4SLK to the Functionality Listed
  • Step 4: Complete the Registration

Step 1:  Install G4SLK and run the G4SLK Register Service (G4SLKRSVC) Command

The G4SLK package comes with a command that allows you to register the Slack service for any user id and team that you use on Slack.  It is important to understand that for each user and team combination you will need to go through this registration process before using any G4LSLK commands or ILE Functions.

The G4SLKRSVC screen will look like this:

The link provided contains a special code unique to your OAuth 2.0 session.  If you are using a modern 5250 browser (such as IBM i Access) you should be able to click on the link and have your browser open.  If not, simply copy and paste the entire link to your browser.

Step 2: Follow the Instructions And Log into your Slack Account and Team

Once you click on the link in the previous step your browser will open to a BVSTools web page.  There will be a link that you click on that will connect you to your Slack account.

Click on the "Click Here" link and if you are not signed into your Slack account you will be guided through that process.  

If you ARE logged into your Slack account you will be brought to the screen at Step 3 and you will want to make sure that the account you are registering with G4SLK is the SAME account you are logged into.

Next, you will be asked for your email address and password that is associated with the particular Slack team your are registering:

Step 3: Authorize G4SLK to the Functionality Listed

Part of the OAuth 2.0 authorization process means you need to allow the G4SLK function to have access to your account and some of the functions.  This allows you to run these functions from your IBM i and interact with your Slack account as if you were using a PC, web or mobile app.  The screen will look like the following:

Step 4: Complete the Registration

Once you click on the Authorize button on the Slack authorization page, you will be returned to the BVSTools website where a registration code will be:

Once here, you can close this browser window/tab and return to your green screen where you were running the G4SLKRSVC command and press the F6 command and complete the registration.  When you press F6 the G4SLKRSVC command will retrieve the code that was generated for you and use it to request an OAuth 2.0 token from Slack.  Unlink other OAuth 2.0 systems (like Google and Microsoft), their tokens do not expire.  I expect in the future this may be added, but if it does the G4SLK application will be updated to allow that.  (The code is already there, just commented out.  >:)  )

Now you're all done and can start using the G4SLK commands and ILE functions for this account and team.

We've even provided a few sample programs.  One being a program called "CHAT" that you'll find tin the QRPGLESRC source physical file in the G4SLK library.  This is a simple program that you can use to send and receive messages from a Slack channel:

Because G4SLK is in beta, it may be updated often adding new features and bug fixes, so we encourage users to let us know if there is any functionality they need as well as report bugs with the proper information.

You can download G4SLK from our website.   Don't forget to request a key for the software.  Because GETURI is also required, you will also be sent a trial key for that automatically when you select G4SLK as the software to get a key for.

If you wish to be a beta tester and really get your hands dirty, feel free to contact us and we can get you trial keys good for 30 days instead of the 10 you can get from our website.  And as always, feel free to request new keys for as long as you need to try out the software.

G4SLK Requirements:

  • V5R4 or higher OS version (tested up to V7R3)
  • GETURI v7.00 or higher (included with G4SLK distribution library.)
  • Licensing for the G4SLKCH addon and GETURI

See also: Sending a Slack Alert Using JOBWATCH and G4SLK When a Job Enters MSGW Status


Last edited 01/17/2020 at 11:46:04



Latest Posts:

Update for Google WorkSpace Accounts (2024): Google Dropping Support for Update for Google WorkSpace Accounts (2024): Google Dropping Support for "Less Secure Apps" May 30th, 2022. What Does This Mean for Your IBM i Email?
Posted by January 19, 2024
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
Sales By State Report in QuickBooks Online Sales By State Report in QuickBooks Online
Posted by January 13, 2024
QuickBooks >> QuickBooks Online
How to Whitelist GreenTools for G Suite (G4G) For Your Organization How to Whitelist GreenTools for G Suite (G4G) For Your Organization
Posted by November 5, 2023
BVSTools >> BVSTools Software Discussion >> GreenTools for G Suite (Google Apps) (G4G) Specific Discussion
QuickBooks Online Releases QuickBooks Online Releases "New Invoices!"... and It's Terrible!
Posted by October 8, 2023
QuickBooks >> QuickBooks Online
Admin/4i - What is it? Admin/4i - What is it?
Posted by September 30, 2023
Vendor Corner >> MSD Information Technology
BVSTools Releases Send Job Log to BVSTools (SNDLOG2BVS) Command BVSTools Releases Send Job Log to BVSTools (SNDLOG2BVS) Command
Posted by August 28, 2023
BVSTools >> BVSTools Announcements
MAILTOOL Now Allows Email Redirection for Development and Testing MAILTOOL Now Allows Email Redirection for Development and Testing
Posted by May 27, 2023
BVSTools >> BVSTools Announcements >> eMail Tool (MAILTOOL) Specific Announcements
GreenTools for Microsoft Apps (G4MS) Now Supports Footers When Sending Email GreenTools for Microsoft Apps (G4MS) Now Supports Footers When Sending Email
Posted by March 29, 2023
BVSTools >> BVSTools Announcements >> GreenTools for Microsoft Apps (G4MS) Specific Announcements
QuickBooks Online - Subtotals and Discounts Frustration QuickBooks Online - Subtotals and Discounts Frustration
Posted by March 16, 2023
QuickBooks >> QuickBooks Online
Making the Switch From QuickBooks Desktop to QuickBooks Online - No Picnic Making the Switch From QuickBooks Desktop to QuickBooks Online - No Picnic
Posted by March 16, 2023
QuickBooks >> QuickBooks Online
BVSTools Software Verified on V7R5 and Power10 BVSTools Software Verified on V7R5 and Power10
Posted by December 9, 2022
BVSTools >> BVSTools Announcements
Microsoft Office 365 Servers and Random Errors Issue Microsoft Office 365 Servers and Random Errors Issue
Posted by November 14, 2022
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
Sending/Resending Emails Using a MIME File with MAILTOOL Sending/Resending Emails Using a MIME File with MAILTOOL
Posted by November 8, 2022
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
Sending an HTML Email on Your IBM i Using MAILTOOL Sending an HTML Email on Your IBM i Using MAILTOOL
Posted by November 1, 2022
BVSTools >> BVSTools Software Discussion >> Email Tools (MAILTOOL) Specific Discussion
Transferring License Keys from One System to Another Transferring License Keys from One System to Another
Posted by October 31, 2022
BVSTools >> BVSTools Software Discussion

Reply




© Copyright 1983-2020 BVSTools
GreenBoard(v3) Powered by the eRPG SDK, MAILTOOL Plus!, GreenTools for Google Apps, jQuery, jQuery UI, BlockUI, CKEditor and running on the IBM i (AKA AS/400, iSeries, System i).