Split discord messages

i
i am currently sending urls into a discord channel. those automatically are watched by make and then put into a new row into google sheets.

i now want to add to the message which is just the url some hashtags.

is it possibe with make to watch the channel for new messages, then split the message in 2 parts (URL + hashtags) and then put both parts into two separate cells in the new row in google sheets?

thanks!

Hey @maker1985ny

Yes, achieving this is possible through the use of regular expressions or other text manipulation tools. If you provide an example message, I can demonstrate the process by performing relevant functions to obtain the desired results

Hey @maker1985ny

Okay, you can achieve this by using the split function, like this

Screenshot 2024-01-21 013247

And you will get results like this
Screenshot 2024-01-21 013320

Hey @maker1985ny

It will work

result

{{split(get(split(“https://chat.openai.com/c/a9679a78-54b0-43ac-b00b-e86efd3f9c93 #useful”; “#”); 1) + “,
#” + get(split(“https://chat.openai.com/c/a9679a78-54b0-43ac-b00b-e86efd3f9c93 #useful”; “#”); 2); “,”)}}

@maker1985ny

You can seamlessly integrate your link directly into this function, and it will effectively handle all types of links

@maker1985ny

You will find split function in “text and binary functions”

@maker1985ny

Can you tell me the maximum number of hashtags that can be included in your message?

please show me your scenarios so i can give you exact advice on where to edit what in your scenario

Welcome to the Make community!

For others to assist you effectively, so you can get your solution faster, please provide the following details:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.


(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.

A.

Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

Hey @maker1985ny

try this
You can change {{6.Link}} to your message coming from Discord

I use set variable for this

And you can map things in your google sheet like this . It will work for 10 tags .

@maker1985ny

You can use “set variable” and direct map your value in Google sheet module

@maker1985ny
It is output of set variable module.